From a46be6d868aeec349444cff464a0b5338ef41bfd Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Tue, 9 Sep 2025 19:11:04 -0700 Subject: [PATCH] Sync: Update sune 'Agent Qwen' --- agents/agent-qwen.sune | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/agent-qwen.sune b/agents/agent-qwen.sune index 35e2336..b991d93 100644 --- a/agents/agent-qwen.sune +++ b/agents/agent-qwen.sune @@ -1 +1 @@ -[{"id":"cjnh9pp","name":"Agent Qwen","pinned":true,"avatar":"data:image/webp;base64,UklGRowPAABXRUJQVlA4WAoAAAAgAAAAfwAAfwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZWUDggng0AAFA1AJ0BKoAAgAA+bSqRRiQiIaEtGnuQgA2JaQAV5R/Uuz3+2/j16A+HLyN7Ces7/FeGfoD/deh/8c+z35D+sfuH6zf6DwB+G/9z6gX4t/LP8J+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9X/7fRRcgXIDFOGwGqlMXhzvzWhWQieXDYRa/kRdIw5kixw882IrJIOQbUU4LwQ2/ICMfrD9feAHK5X1IbRMS+xg0NnI/I3t9mnXp6cCbLQxU+4KnX1I+F+xsvFEBf5fKDX0n7PyxntUzpp6jKEfgccRIUGJ8EiYk/nlNL85JpM5rmZTu38IOv/sB6D/XIf+ZVa+crhmTBsCEduI1m6h+DqyFYFwz8UNT/t7mqAAAAA==","url":"gh://sune-org/store/agents/agent-qwen.sune","updatedAt":1757469194208,"settings":{"model":"or:qwen/qwen3-coder","temperature":"","top_p":".9","top_k":"","frequency_penalty":"","repetition_penalty":"1.1","min_p":"","top_a":"","verbosity":"","reasoning_effort":"default","system_prompt":"You are an autonomous live agent. Depending on the task, you may return partial html or JavaScript. If returning html realize that you are inserting into already existing html. Tailwind, lucide, dom-cash, alpinejs are available. When you return code in triple backticks, it runs immediately.\nAccessing individual API keys:\nwindow.USER.apiKeyGoogle\nwindow.USER.apiKeyCloudflare\nwindow.USER.githubToken\nTypically when you send your response, the chat is concluded. If required anywhere in your response put <3 as in the heart of the conversation needs to stay alive for another round. The <3 will ensure the conversation doesnt end.\nYou can use this command to pass information to the next chat, for example when you need to know the return value of something, put it here and the next chat will output it:\n```js\nwindow.SUNE.log(str)\n```\nThe output of this function is rendered with markdown. So of you are expecting json for example, put str in a json code fence, etc.\nYou ('Agent Qwen') are good at being agentic, but you also have the ability to handoff the chat to other models, via: ```js\nwindow.SUNE.handoff(nameStr) ``` // no <3 necessary\nOther agents available are:\n\"Agent Gem\" // gemini-2.5-pro\nThe cost is more expensive.\nExpect errors and wait to verify you were successful first. Don't forget to use <3 to stay alive unless handing off.","html":"
\n
\n
\n
\n\nAgent Control\n
\n\n
\n\n
\n \n \n
\n\n
\n \n\n
\n
\n    
\n \n \n \n
\n
\n
\n\n
\n\n\n
\n","extension_html":"","hide_composer":false,"testRepo":{"id":1041209998,"node_id":"R_kgDOPg-ajg","name":"test","full_name":"multipleof4/test","private":false,"owner":{"login":"multipleof4","id":179018396,"node_id":"U_kgDOCquanA","avatar_url":"https://avatars.githubusercontent.com/u/179018396?v=4","gravatar_id":"","url":"https://api.github.com/users/multipleof4","html_url":"https://github.com/multipleof4","followers_url":"https://api.github.com/users/multipleof4/followers","following_url":"https://api.github.com/users/multipleof4/following{/other_user}","gists_url":"https://api.github.com/users/multipleof4/gists{/gist_id}","starred_url":"https://api.github.com/users/multipleof4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/multipleof4/subscriptions","organizations_url":"https://api.github.com/users/multipleof4/orgs","repos_url":"https://api.github.com/users/multipleof4/repos","events_url":"https://api.github.com/users/multipleof4/events{/privacy}","received_events_url":"https://api.github.com/users/multipleof4/received_events","type":"User","user_view_type":"public","site_admin":false},"html_url":"https://github.com/multipleof4/test","description":null,"fork":false,"url":"https://api.github.com/repos/multipleof4/test","forks_url":"https://api.github.com/repos/multipleof4/test/forks","keys_url":"https://api.github.com/repos/multipleof4/test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/multipleof4/test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/multipleof4/test/teams","hooks_url":"https://api.github.com/repos/multipleof4/test/hooks","issue_events_url":"https://api.github.com/repos/multipleof4/test/issues/events{/number}","events_url":"https://api.github.com/repos/multipleof4/test/events","assignees_url":"https://api.github.com/repos/multipleof4/test/assignees{/user}","branches_url":"https://api.github.com/repos/multipleof4/test/branches{/branch}","tags_url":"https://api.github.com/repos/multipleof4/test/tags","blobs_url":"https://api.github.com/repos/multipleof4/test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/multipleof4/test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/multipleof4/test/git/refs{/sha}","trees_url":"https://api.github.com/repos/multipleof4/test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/multipleof4/test/statuses/{sha}","languages_url":"https://api.github.com/repos/multipleof4/test/languages","stargazers_url":"https://api.github.com/repos/multipleof4/test/stargazers","contributors_url":"https://api.github.com/repos/multipleof4/test/contributors","subscribers_url":"https://api.github.com/repos/multipleof4/test/subscribers","subscription_url":"https://api.github.com/repos/multipleof4/test/subscription","commits_url":"https://api.github.com/repos/multipleof4/test/commits{/sha}","git_commits_url":"https://api.github.com/repos/multipleof4/test/git/commits{/sha}","comments_url":"https://api.github.com/repos/multipleof4/test/comments{/number}","issue_comment_url":"https://api.github.com/repos/multipleof4/test/issues/comments{/number}","contents_url":"https://api.github.com/repos/multipleof4/test/contents/{+path}","compare_url":"https://api.github.com/repos/multipleof4/test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/multipleof4/test/merges","archive_url":"https://api.github.com/repos/multipleof4/test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/multipleof4/test/downloads","issues_url":"https://api.github.com/repos/multipleof4/test/issues{/number}","pulls_url":"https://api.github.com/repos/multipleof4/test/pulls{/number}","milestones_url":"https://api.github.com/repos/multipleof4/test/milestones{/number}","notifications_url":"https://api.github.com/repos/multipleof4/test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/multipleof4/test/labels{/name}","releases_url":"https://api.github.com/repos/multipleof4/test/releases{/id}","deployments_url":"https://api.github.com/repos/multipleof4/test/deployments","created_at":"2025-08-20T06:34:53Z","updated_at":"2025-09-08T20:44:30Z","pushed_at":"2025-09-08T20:44:26Z","git_url":"git://github.com/multipleof4/test.git","ssh_url":"git@github.com:multipleof4/test.git","clone_url":"https://github.com/multipleof4/test.git","svn_url":"https://github.com/multipleof4/test","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"maintain":true,"push":true,"triage":true,"pull":true}},"readmeData":{"name":"README.md","path":"README.md","sha":"d00491fd7e5bb6fa28c517a0bb32b8b506539d4d","size":2,"url":"https://api.github.com/repos/multipleof4/test/contents/README.md?ref=master","html_url":"https://github.com/multipleof4/test/blob/master/README.md","git_url":"https://api.github.com/repos/multipleof4/test/git/blobs/d00491fd7e5bb6fa28c517a0bb32b8b506539d4d","download_url":"https://raw.githubusercontent.com/multipleof4/test/master/README.md","type":"file","content":"MQo=\n","encoding":"base64","_links":{"self":"https://api.github.com/repos/multipleof4/test/contents/README.md?ref=master","git":"https://api.github.com/repos/multipleof4/test/git/blobs/d00491fd7e5bb6fa28c517a0bb32b8b506539d4d","html":"https://github.com/multipleof4/test/blob/master/README.md"}},"workerCode":"\nimport { D1Database } from '@cloudflare/workers-types';\n\nexport interface Env {\n sune: D1Database;\n}\n\nexport default {\n async fetch(request: Request, env: Env): Promise {\n // Only allow POST requests for security\n if (request.method !== 'POST') {\n return new Response('Method not allowed', { status: 405 });\n }\n\n try {\n const { sql, params = [] } = await request.json();\n\n // Validate SQL statement type\n const normalizedSql = sql.trim().toLowerCase();\n \n // Block destructive operations\n if (\n normalizedSql.startsWith('delete') ||\n normalizedSql.startsWith('drop') ||\n normalizedSql.startsWith('truncate') ||\n normalizedSql.startsWith('alter') ||\n normalizedSql.includes('drop') ||\n normalizedSql.includes('delete') ||\n normalizedSql.includes('truncate')\n ) {\n return new Response('Destructive operations are not allowed', { status: 403 });\n }\n\n // Only allow SELECT, INSERT, UPDATE\n if (\n !normalizedSql.startsWith('select') &&\n !normalizedSql.startsWith('insert') &&\n !normalizedSql.startsWith('update')\n ) {\n return new Response('Only SELECT, INSERT, and UPDATE operations are allowed', { status: 403 });\n }\n\n // Execute the query\n const result = await env.sune.prepare(sql).bind(...params).all();\n \n return new Response(JSON.stringify(result), {\n headers: {\n 'Content-Type': 'application/json',\n 'Access-Control-Allow-Origin': '*',\n },\n });\n } catch (error) {\n return new Response(JSON.stringify({ error: error.message }), {\n status: 500,\n headers: {\n 'Content-Type': 'application/json',\n },\n });\n }\n },\n};\n","wranglerToml":"\nname = \"D1P\"\nmain = \"src/index.ts\"\ncompatibility_date = \"2023-10-30\"\n\n[[d1_databases]]\nbinding = \"sune\" # available in your Worker on env.sune\ndatabase_name = \"sune\"\ndatabase_id = \"YOUR_DATABASE_UUID\"\n"},"storage":{}}] \ No newline at end of file +[{"id":"cjnh9pp","name":"Agent Qwen","pinned":true,"avatar":"data:image/webp;base64,UklGRowPAABXRUJQVlA4WAoAAAAgAAAAfwAAfwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZWUDggng0AAFA1AJ0BKoAAgAA+bSqRRiQiIaEtGnuQgA2JaQAV5R/Uuz3+2/j16A+HLyN7Ces7/FeGfoD/deh/8c+z35D+sfuH6zf6DwB+G/9z6gX4t/LP8J+ZHtjPIuNnvPoBesXzn/Wf3792v8n6Cf7N6AfV//Oe4B/Iv5z/qPzc94f8N/t/EG+hf379j/gC/jX9D/2P9v/cj5S/3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I/I3t9mnXp6cCbLQxU+4KnX1I+F+xsvFEBf5fKDX0n7PyxntUzpp6jKEfgccRIUGJ8EiYk/nlNL85JpM5rmZTu38IOv/sB6D/XIf+ZVa+crhmTBsCEduI1m6h+DqyFYFwz8UNT/t7mqAAAAA==","url":"gh://sune-org/store/agents/agent-qwen.sune","updatedAt":1757470265389,"settings":{"model":"or:qwen/qwen3-coder","temperature":".7","top_p":".9","top_k":"","frequency_penalty":"","repetition_penalty":"1","min_p":"","top_a":"","verbosity":"","reasoning_effort":"default","system_prompt":"You are an autonomous live agent. Depending on the task, you may return partial html or JavaScript. If returning html realize that you are inserting into already existing html. Tailwind, lucide, dom-cash, alpinejs are available. When you return code in triple backticks, it runs immediately.\nAccessing individual API keys:\nwindow.USER.apiKeyGoogle\nwindow.USER.apiKeyCloudflare\nwindow.USER.githubToken\nTypically when you send your response, the chat is concluded. If required anywhere in your response put <3 as in the heart of the conversation needs to stay alive for another round. The <3 will ensure the conversation doesnt end.\nYou can use this command to pass information to the next chat, for example when you need to know the return value of something, put it here and the next chat will output it:\n```js\nwindow.SUNE.log(str)\n```\nThe output of this function is rendered with markdown. So of you are expecting json for example, put str in a json code fence, etc.\nYou ('Agent Qwen') have the ability to handoff the chat to other models, via: ```js\nwindow.SUNE.handoff(nameStr) ``` // no <3 necessary\nOther agents available are:\n\"Agent Gem\" // gemini-2.5-pro\n\"Agent Flash\" // gemini-2.5-flash\nExpect errors and wait to verify you were successful first. Don't forget to use <3 to stay alive unless handing off. Store your code in a window.var so we can access it and commit to GitHub.","html":"
\n
\n
\n
\n\nAgent Control\n
\n\n
\n\n
\n \n \n
\n\n
\n \n\n
\n
\n    
\n \n \n \n
\n
\n
\n\n
\n\n\n
\n","extension_html":"","hide_composer":false,"testRepo":{"id":1041209998,"node_id":"R_kgDOPg-ajg","name":"test","full_name":"multipleof4/test","private":false,"owner":{"login":"multipleof4","id":179018396,"node_id":"U_kgDOCquanA","avatar_url":"https://avatars.githubusercontent.com/u/179018396?v=4","gravatar_id":"","url":"https://api.github.com/users/multipleof4","html_url":"https://github.com/multipleof4","followers_url":"https://api.github.com/users/multipleof4/followers","following_url":"https://api.github.com/users/multipleof4/following{/other_user}","gists_url":"https://api.github.com/users/multipleof4/gists{/gist_id}","starred_url":"https://api.github.com/users/multipleof4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/multipleof4/subscriptions","organizations_url":"https://api.github.com/users/multipleof4/orgs","repos_url":"https://api.github.com/users/multipleof4/repos","events_url":"https://api.github.com/users/multipleof4/events{/privacy}","received_events_url":"https://api.github.com/users/multipleof4/received_events","type":"User","user_view_type":"public","site_admin":false},"html_url":"https://github.com/multipleof4/test","description":null,"fork":false,"url":"https://api.github.com/repos/multipleof4/test","forks_url":"https://api.github.com/repos/multipleof4/test/forks","keys_url":"https://api.github.com/repos/multipleof4/test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/multipleof4/test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/multipleof4/test/teams","hooks_url":"https://api.github.com/repos/multipleof4/test/hooks","issue_events_url":"https://api.github.com/repos/multipleof4/test/issues/events{/number}","events_url":"https://api.github.com/repos/multipleof4/test/events","assignees_url":"https://api.github.com/repos/multipleof4/test/assignees{/user}","branches_url":"https://api.github.com/repos/multipleof4/test/branches{/branch}","tags_url":"https://api.github.com/repos/multipleof4/test/tags","blobs_url":"https://api.github.com/repos/multipleof4/test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/multipleof4/test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/multipleof4/test/git/refs{/sha}","trees_url":"https://api.github.com/repos/multipleof4/test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/multipleof4/test/statuses/{sha}","languages_url":"https://api.github.com/repos/multipleof4/test/languages","stargazers_url":"https://api.github.com/repos/multipleof4/test/stargazers","contributors_url":"https://api.github.com/repos/multipleof4/test/contributors","subscribers_url":"https://api.github.com/repos/multipleof4/test/subscribers","subscription_url":"https://api.github.com/repos/multipleof4/test/subscription","commits_url":"https://api.github.com/repos/multipleof4/test/commits{/sha}","git_commits_url":"https://api.github.com/repos/multipleof4/test/git/commits{/sha}","comments_url":"https://api.github.com/repos/multipleof4/test/comments{/number}","issue_comment_url":"https://api.github.com/repos/multipleof4/test/issues/comments{/number}","contents_url":"https://api.github.com/repos/multipleof4/test/contents/{+path}","compare_url":"https://api.github.com/repos/multipleof4/test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/multipleof4/test/merges","archive_url":"https://api.github.com/repos/multipleof4/test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/multipleof4/test/downloads","issues_url":"https://api.github.com/repos/multipleof4/test/issues{/number}","pulls_url":"https://api.github.com/repos/multipleof4/test/pulls{/number}","milestones_url":"https://api.github.com/repos/multipleof4/test/milestones{/number}","notifications_url":"https://api.github.com/repos/multipleof4/test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/multipleof4/test/labels{/name}","releases_url":"https://api.github.com/repos/multipleof4/test/releases{/id}","deployments_url":"https://api.github.com/repos/multipleof4/test/deployments","created_at":"2025-08-20T06:34:53Z","updated_at":"2025-09-08T20:44:30Z","pushed_at":"2025-09-08T20:44:26Z","git_url":"git://github.com/multipleof4/test.git","ssh_url":"git@github.com:multipleof4/test.git","clone_url":"https://github.com/multipleof4/test.git","svn_url":"https://github.com/multipleof4/test","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"maintain":true,"push":true,"triage":true,"pull":true}},"readmeData":{"name":"README.md","path":"README.md","sha":"d00491fd7e5bb6fa28c517a0bb32b8b506539d4d","size":2,"url":"https://api.github.com/repos/multipleof4/test/contents/README.md?ref=master","html_url":"https://github.com/multipleof4/test/blob/master/README.md","git_url":"https://api.github.com/repos/multipleof4/test/git/blobs/d00491fd7e5bb6fa28c517a0bb32b8b506539d4d","download_url":"https://raw.githubusercontent.com/multipleof4/test/master/README.md","type":"file","content":"MQo=\n","encoding":"base64","_links":{"self":"https://api.github.com/repos/multipleof4/test/contents/README.md?ref=master","git":"https://api.github.com/repos/multipleof4/test/git/blobs/d00491fd7e5bb6fa28c517a0bb32b8b506539d4d","html":"https://github.com/multipleof4/test/blob/master/README.md"}},"workerCode":"\nimport { D1Database } from '@cloudflare/workers-types';\n\nexport interface Env {\n sune: D1Database;\n}\n\nexport default {\n async fetch(request: Request, env: Env): Promise {\n // Only allow POST requests for security\n if (request.method !== 'POST') {\n return new Response('Method not allowed', { status: 405 });\n }\n\n try {\n const { sql, params = [] } = await request.json();\n\n // Validate SQL statement type\n const normalizedSql = sql.trim().toLowerCase();\n \n // Block destructive operations\n if (\n normalizedSql.startsWith('delete') ||\n normalizedSql.startsWith('drop') ||\n normalizedSql.startsWith('truncate') ||\n normalizedSql.startsWith('alter') ||\n normalizedSql.includes('drop') ||\n normalizedSql.includes('delete') ||\n normalizedSql.includes('truncate')\n ) {\n return new Response('Destructive operations are not allowed', { status: 403 });\n }\n\n // Only allow SELECT, INSERT, UPDATE\n if (\n !normalizedSql.startsWith('select') &&\n !normalizedSql.startsWith('insert') &&\n !normalizedSql.startsWith('update')\n ) {\n return new Response('Only SELECT, INSERT, and UPDATE operations are allowed', { status: 403 });\n }\n\n // Execute the query\n const result = await env.sune.prepare(sql).bind(...params).all();\n \n return new Response(JSON.stringify(result), {\n headers: {\n 'Content-Type': 'application/json',\n 'Access-Control-Allow-Origin': '*',\n },\n });\n } catch (error) {\n return new Response(JSON.stringify({ error: error.message }), {\n status: 500,\n headers: {\n 'Content-Type': 'application/json',\n },\n });\n }\n },\n};\n","wranglerToml":"\nname = \"D1P\"\nmain = \"src/index.ts\"\ncompatibility_date = \"2023-10-30\"\n\n[[d1_databases]]\nbinding = \"sune\" # available in your Worker on env.sune\ndatabase_name = \"sune\"\ndatabase_id = \"YOUR_DATABASE_UUID\"\n"},"storage":{}}] \ No newline at end of file