clawmini 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changeset/README.md +8 -0
- package/.changeset/config.json +14 -0
- package/.github/workflows/release.yml +49 -0
- package/CHANGELOG.md +36 -0
- package/README.md +5 -4
- package/dist/adapter-discord/index.d.mts.map +1 -1
- package/dist/adapter-discord/index.mjs +465 -282
- package/dist/adapter-discord/index.mjs.map +1 -1
- package/dist/adapter-google-chat/index.mjs +367 -243
- package/dist/adapter-google-chat/index.mjs.map +1 -1
- package/dist/cli/index.mjs +684 -24
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lite.mjs +43 -13
- package/dist/cli/lite.mjs.map +1 -1
- package/dist/cli/{propose-policy.mjs → manage-policies.mjs} +270 -47
- package/dist/cli/manage-policies.mjs.map +1 -0
- package/dist/cli/run-host.d.mts +1 -0
- package/dist/cli/run-host.mjs +3090 -0
- package/dist/cli/run-host.mjs.map +1 -0
- package/dist/config-CPFQIGdG.mjs +57 -0
- package/dist/config-CPFQIGdG.mjs.map +1 -0
- package/dist/config-Dvl-Pov4.mjs +76 -0
- package/dist/config-Dvl-Pov4.mjs.map +1 -0
- package/dist/daemon/index.d.mts.map +1 -1
- package/dist/daemon/index.mjs +970 -332
- package/dist/daemon/index.mjs.map +1 -1
- package/dist/supervisor-actions-CiW56eLi.mjs +843 -0
- package/dist/supervisor-actions-CiW56eLi.mjs.map +1 -0
- package/dist/turn-log-buffer-DRgW53gl.mjs +767 -0
- package/dist/turn-log-buffer-DRgW53gl.mjs.map +1 -0
- package/dist/web/_app/immutable/chunks/{Drm9vgeP.js → 3AZlWB6U.js} +1 -1
- package/dist/web/_app/immutable/chunks/BhRSsUCh.js +2 -0
- package/dist/web/_app/immutable/chunks/BiLeM2i1.js +1 -0
- package/{web/.svelte-kit/output/client/_app/immutable/chunks/CME08kGM.js → dist/web/_app/immutable/chunks/BmBj85Ll.js} +1 -1
- package/dist/web/_app/immutable/chunks/BrERcKAH.js +1 -0
- package/dist/web/_app/immutable/chunks/Bv9252RM.js +1 -0
- package/dist/web/_app/immutable/chunks/CIXNBPKi.js +1 -0
- package/dist/web/_app/immutable/chunks/DISKL3GN.js +2 -0
- package/dist/web/_app/immutable/chunks/{Zeh-C-mx.js → DcpaLzmX.js} +1 -1
- package/dist/web/_app/immutable/chunks/DnQ3vS13.js +1 -0
- package/dist/web/_app/immutable/chunks/KsloHTKS.js +1 -0
- package/{web/.svelte-kit/output/client/_app/immutable/chunks/Ck-be5J2.js → dist/web/_app/immutable/chunks/RsHsUj-8.js} +2 -2
- package/dist/web/_app/immutable/chunks/{G_zz-Gou.js → wpfV79dV.js} +1 -1
- package/dist/web/_app/immutable/entry/app.CIw1Qj0n.js +2 -0
- package/dist/web/_app/immutable/entry/start.Di0-Jhte.js +1 -0
- package/dist/web/_app/immutable/nodes/{0.CYS8iApT.js → 0.DYyUA1au.js} +1 -1
- package/dist/web/_app/immutable/nodes/1.D-3QEMMZ.js +1 -0
- package/dist/web/_app/immutable/nodes/{2.BnwnD1Ki.js → 2.4olHnH7U.js} +1 -1
- package/{web/.svelte-kit/output/client/_app/immutable/nodes/3.Dr0ot9sV.js → dist/web/_app/immutable/nodes/3.4w0bE-m2.js} +3 -3
- package/dist/web/_app/immutable/nodes/4.CZvjhVHt.js +60 -0
- package/dist/web/_app/immutable/nodes/{5.BBGQ_i84.js → 5.DLbPVJY2.js} +1 -1
- package/dist/web/_app/version.json +1 -1
- package/dist/web/index.html +12 -12
- package/dist/workspace-oWmVh5mi.mjs +1001 -0
- package/dist/workspace-oWmVh5mi.mjs.map +1 -0
- package/docs/23_adapter_slash_autocomplete/development_log.md +19 -0
- package/docs/23_adapter_slash_autocomplete/notes.md +18 -0
- package/docs/23_adapter_slash_autocomplete/prd.md +46 -0
- package/docs/23_adapter_slash_autocomplete/questions.md +6 -0
- package/docs/23_adapter_slash_autocomplete/tickets.md +21 -0
- package/docs/24_subagent_job_policy_fixes/development_log.md +22 -0
- package/docs/24_subagent_job_policy_fixes/notes.md +28 -0
- package/docs/24_subagent_job_policy_fixes/prd.md +59 -0
- package/docs/24_subagent_job_policy_fixes/questions.md +3 -0
- package/docs/24_subagent_job_policy_fixes/tickets.md +49 -0
- package/docs/25_e2e_test_improvements/development_log.md +30 -0
- package/docs/25_e2e_test_improvements/notes.md +29 -0
- package/docs/25_e2e_test_improvements/prd.md +43 -0
- package/docs/25_e2e_test_improvements/questions.md +12 -0
- package/docs/25_e2e_test_improvements/tickets-2.md +22 -0
- package/docs/25_e2e_test_improvements/tickets.md +22 -0
- package/docs/25_policy_cwd/development_log.md +30 -0
- package/docs/25_policy_cwd/notes.md +28 -0
- package/docs/25_policy_cwd/prd.md +77 -0
- package/docs/25_policy_cwd/questions.md +6 -0
- package/docs/25_policy_cwd/tickets.md +77 -0
- package/docs/CLI_REFERENCE.md +3 -1
- package/docs/PHILOSOPHY.md +35 -0
- package/docs/adapter-visibility/SPEC.md +461 -0
- package/docs/adapter-visibility/SPEC_v2.md +202 -0
- package/docs/auto-update/SPEC.md +344 -0
- package/docs/backups/SPEC.md +296 -0
- package/docs/backups/clawmini.gitignore +69 -0
- package/docs/guides/assets/clawmini-avatar.png +0 -0
- package/docs/guides/backups.md +332 -0
- package/docs/guides/discord_adapter_setup.md +1 -1
- package/docs/guides/google_chat_adapter_setup.md +81 -0
- package/docs/unified-startup/SPEC.md +203 -0
- package/e2e/_helpers/test-environment.test.ts +49 -0
- package/e2e/_helpers/test-environment.ts +548 -0
- package/e2e/adapters/_google-chat-fixtures.ts +340 -0
- package/{src/cli/e2e → e2e/adapters}/adapter-discord.test.ts +22 -23
- package/e2e/adapters/adapter-google-chat-downtime.test.ts +157 -0
- package/e2e/adapters/adapter-google-chat-inbound.test.ts +697 -0
- package/e2e/adapters/adapter-google-chat-outbound.test.ts +297 -0
- package/e2e/adapters/adapter-google-chat-roundtrip.test.ts +56 -0
- package/e2e/adapters/adapter-google-chat-threads.test.ts +1078 -0
- package/e2e/agents/custom-api-env.test.ts +80 -0
- package/e2e/agents/export-lite-func.test.ts +104 -0
- package/e2e/agents/fallbacks.test.ts +124 -0
- package/e2e/agents/interrupt.test.ts +50 -0
- package/e2e/agents/no-reply-necessary.test.ts +57 -0
- package/e2e/agents/session-timeout-subagents.test.ts +76 -0
- package/e2e/agents/subagent-authorization.test.ts +246 -0
- package/e2e/agents/subagent-env.test.ts +49 -0
- package/e2e/agents/subagent-lifecycle.test.ts +782 -0
- package/e2e/agents/subagents-depth.test.ts +47 -0
- package/e2e/cli/agents.test.ts +176 -0
- package/e2e/cli/auto-update.test.ts +741 -0
- package/e2e/cli/basic.test.ts +44 -0
- package/{src/cli/e2e → e2e/cli}/export-lite.test.ts +16 -12
- package/e2e/cli/init-gitignore.test.ts +86 -0
- package/e2e/cli/init.test.ts +76 -0
- package/e2e/cli/messages.test.ts +363 -0
- package/e2e/cli/serve.test.ts +76 -0
- package/{src/cli/e2e → e2e/cli}/skills.test.ts +11 -10
- package/{src/cli/e2e → e2e/daemon}/daemon.test.ts +57 -195
- package/e2e/jobs/agent-jobs.test.ts +216 -0
- package/e2e/jobs/cron.test.ts +64 -0
- package/e2e/jobs/restart.test.ts +108 -0
- package/e2e/policies/approval-session.test.ts +69 -0
- package/e2e/policies/auto-create-policies-file.test.ts +35 -0
- package/e2e/policies/builtin-manage-policies.test.ts +184 -0
- package/e2e/policies/builtin-run-host.test.ts +180 -0
- package/e2e/policies/environment-policies.test.ts +177 -0
- package/e2e/policies/manage-policies.test.ts +566 -0
- package/e2e/policies/output-size.test.ts +98 -0
- package/e2e/policies/policies-context-cwd.test.ts +160 -0
- package/e2e/policies/relative-script-path.test.ts +60 -0
- package/e2e/policies/requests-show.test.ts +135 -0
- package/e2e/policies/requests.test.ts +208 -0
- package/e2e/policies/slash-policies.test.ts +308 -0
- package/e2e/policies/startup-cleanup.test.ts +48 -0
- package/e2e/routers/session-timeout.test.ts +106 -0
- package/e2e/routers/slash-model.test.ts +152 -0
- package/e2e/routers/slash-new.test.ts +50 -0
- package/e2e/routers/slash-restart-adapter.test.ts +96 -0
- package/e2e/routers/slash-restart.test.ts +114 -0
- package/e2e/routers/slash-shutdown.test.ts +55 -0
- package/e2e/routers/slash-stop.test.ts +232 -0
- package/e2e/routers/slash-upgrade.test.ts +88 -0
- package/{src/cli/e2e → e2e/sandbox}/environments.test.ts +14 -13
- package/eslint.config.js +6 -0
- package/napkin.md +1 -1
- package/package.json +8 -3
- package/src/adapter-discord/commands.test.ts +42 -0
- package/src/adapter-discord/commands.ts +33 -0
- package/src/adapter-discord/config.ts +12 -0
- package/src/adapter-discord/forwarder.test.ts +499 -21
- package/src/adapter-discord/forwarder.ts +343 -124
- package/src/adapter-discord/inbound-cache.test.ts +47 -0
- package/src/adapter-discord/inbound-cache.ts +37 -0
- package/src/adapter-discord/index.test.ts +67 -2
- package/src/adapter-discord/index.ts +84 -216
- package/src/adapter-discord/interactions.test.ts +54 -3
- package/src/adapter-discord/interactions.ts +97 -53
- package/src/adapter-discord/processMessage.ts +239 -0
- package/src/adapter-discord/state.ts +1 -0
- package/src/adapter-google-chat/auth.test.ts +9 -5
- package/src/adapter-google-chat/auth.ts +29 -23
- package/src/adapter-google-chat/cards.ts +7 -2
- package/src/adapter-google-chat/client.test.ts +37 -2
- package/src/adapter-google-chat/client.ts +138 -38
- package/src/adapter-google-chat/config.ts +19 -0
- package/src/adapter-google-chat/forwarder.test.ts +81 -56
- package/src/adapter-google-chat/forwarder.ts +394 -185
- package/src/adapter-google-chat/inbound-cache.test.ts +61 -0
- package/src/adapter-google-chat/inbound-cache.ts +36 -0
- package/src/adapter-google-chat/state.test.ts +1 -0
- package/src/adapter-google-chat/state.ts +9 -1
- package/src/adapter-google-chat/subscriptions.ts +8 -6
- package/src/cli/builtin-policies.ts +44 -0
- package/src/cli/commands/agents.ts +59 -5
- package/src/cli/commands/down.ts +54 -2
- package/src/cli/commands/environments.ts +8 -2
- package/src/cli/commands/init.ts +31 -0
- package/src/cli/commands/logs.ts +116 -0
- package/src/cli/commands/policies.ts +6 -4
- package/src/cli/commands/serve.test.ts +67 -0
- package/src/cli/commands/serve.ts +284 -0
- package/src/cli/commands/up.ts +122 -2
- package/src/cli/commands/web-api/agents.ts +3 -2
- package/src/cli/index.ts +4 -0
- package/src/cli/install-detection.test.ts +72 -0
- package/src/cli/install-detection.ts +48 -0
- package/src/cli/lite.ts +54 -22
- package/src/cli/manage-policies-utils.ts +104 -0
- package/src/cli/manage-policies.ts +291 -0
- package/src/cli/run-host.ts +45 -0
- package/src/cli/supervisor-actions.ts +267 -0
- package/src/cli/supervisor-control.test.ts +129 -0
- package/src/cli/supervisor-control.ts +155 -0
- package/src/cli/supervisor-pid.ts +68 -0
- package/src/cli/supervisor.ts +277 -0
- package/src/daemon/agent/agent-context.ts +11 -11
- package/src/daemon/agent/agent-session.ts +8 -1
- package/src/daemon/agent/chat-logger.test.ts +78 -9
- package/src/daemon/agent/chat-logger.ts +25 -5
- package/src/daemon/agent/turn-registry.test.ts +89 -0
- package/src/daemon/agent/turn-registry.ts +94 -0
- package/src/daemon/agent/types.ts +2 -0
- package/src/daemon/api/agent-policy-endpoints.ts +263 -0
- package/src/daemon/api/agent-router.ts +47 -126
- package/src/daemon/api/index.test.ts +1 -0
- package/src/daemon/api/policy-request.test.ts +7 -5
- package/src/daemon/api/router-utils.ts +6 -5
- package/src/daemon/api/subagent-router.ts +110 -74
- package/src/daemon/api/subagent-utils.test.ts +60 -0
- package/src/daemon/api/subagent-utils.ts +113 -87
- package/src/daemon/api/user-router.ts +34 -8
- package/src/daemon/auth.ts +1 -0
- package/src/daemon/cron.test.ts +62 -4
- package/src/daemon/cron.ts +42 -16
- package/src/daemon/events.ts +65 -0
- package/src/daemon/index.ts +24 -1
- package/src/daemon/message-interruption.test.ts +1 -0
- package/src/daemon/message-jobs.test.ts +1 -0
- package/src/daemon/message.ts +78 -14
- package/src/daemon/observation.test.ts +26 -18
- package/src/daemon/pending-replies.test.ts +112 -0
- package/src/daemon/pending-replies.ts +162 -0
- package/src/daemon/policy-request-service.ts +3 -1
- package/src/daemon/policy-utils.test.ts +66 -1
- package/src/daemon/policy-utils.ts +126 -1
- package/src/daemon/request-store.ts +31 -0
- package/src/daemon/routers/session-timeout.ts +4 -0
- package/src/daemon/routers/slash-model.test.ts +344 -0
- package/src/daemon/routers/slash-model.ts +207 -0
- package/src/daemon/routers/slash-policies.test.ts +38 -32
- package/src/daemon/routers/slash-policies.ts +84 -33
- package/src/daemon/routers/slash-restart.test.ts +69 -0
- package/src/daemon/routers/slash-restart.ts +36 -0
- package/src/daemon/routers/slash-shutdown.test.ts +50 -0
- package/src/daemon/routers/slash-shutdown.ts +28 -0
- package/src/daemon/routers/slash-upgrade.test.ts +116 -0
- package/src/daemon/routers/slash-upgrade.ts +76 -0
- package/src/daemon/routers/types.ts +7 -0
- package/src/daemon/routers.ts +16 -0
- package/src/shared/adapters/blockquote.test.ts +28 -0
- package/src/shared/adapters/blockquote.ts +20 -0
- package/src/shared/adapters/filtering.test.ts +224 -10
- package/src/shared/adapters/filtering.ts +95 -7
- package/src/shared/adapters/inbound-cache.test.ts +48 -0
- package/src/shared/adapters/inbound-cache.ts +54 -0
- package/src/shared/adapters/turn-log-buffer.ts +266 -0
- package/src/shared/adapters/turn-log.test.ts +389 -0
- package/src/shared/adapters/turn-log.ts +357 -0
- package/src/shared/agent-utils.ts +12 -5
- package/src/shared/chats.test.ts +4 -0
- package/src/shared/chats.ts +9 -0
- package/src/shared/config.ts +16 -1
- package/src/shared/lite.ts +76 -2
- package/src/shared/policies.ts +26 -0
- package/src/shared/template-manifest.ts +267 -0
- package/src/shared/utils/shell.ts +61 -0
- package/src/shared/version.ts +34 -0
- package/src/shared/workspace.test.ts +217 -0
- package/src/shared/workspace.ts +626 -48
- package/templates/environments/cladding/allowlist-domain.mjs +125 -0
- package/templates/environments/cladding/env.json +21 -1
- package/templates/environments/cladding/run-with-network.mjs +54 -0
- package/templates/environments/macos-proxy/allowlist-domain.mjs +95 -0
- package/templates/environments/macos-proxy/env.json +8 -1
- package/templates/environments/macos-proxy/proxy.mjs +42 -13
- package/templates/gemini/template.json +5 -0
- package/templates/gemini-claw/template.json +13 -0
- package/templates/skills/clawmini-requests/SKILL.md +69 -10
- package/templates/skills/run-host/SKILL.md +51 -0
- package/templates/skills/skill-creator/SKILL.md +4 -3
- package/templates/skills/skill-creator/scripts/validate.sh +52 -0
- package/tsdown.config.ts +10 -1
- package/vitest.config.ts +2 -2
- package/web/.svelte-kit/ambient.d.ts +292 -176
- package/web/.svelte-kit/generated/server/internal.js +1 -1
- package/web/.svelte-kit/output/client/.vite/manifest.json +127 -137
- package/web/.svelte-kit/output/client/_app/immutable/chunks/{Drm9vgeP.js → 3AZlWB6U.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BhRSsUCh.js +2 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BiLeM2i1.js +1 -0
- package/{dist/web/_app/immutable/chunks/CME08kGM.js → web/.svelte-kit/output/client/_app/immutable/chunks/BmBj85Ll.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BrERcKAH.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/Bv9252RM.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/CIXNBPKi.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DISKL3GN.js +2 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/{Zeh-C-mx.js → DcpaLzmX.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DnQ3vS13.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/KsloHTKS.js +1 -0
- package/{dist/web/_app/immutable/chunks/Ck-be5J2.js → web/.svelte-kit/output/client/_app/immutable/chunks/RsHsUj-8.js} +2 -2
- package/web/.svelte-kit/output/client/_app/immutable/chunks/{G_zz-Gou.js → wpfV79dV.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/entry/app.CIw1Qj0n.js +2 -0
- package/web/.svelte-kit/output/client/_app/immutable/entry/start.Di0-Jhte.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/{0.CYS8iApT.js → 0.DYyUA1au.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/nodes/1.D-3QEMMZ.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/{2.BnwnD1Ki.js → 2.4olHnH7U.js} +1 -1
- package/{dist/web/_app/immutable/nodes/3.Dr0ot9sV.js → web/.svelte-kit/output/client/_app/immutable/nodes/3.4w0bE-m2.js} +3 -3
- package/web/.svelte-kit/output/client/_app/immutable/nodes/4.CZvjhVHt.js +60 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/{5.BBGQ_i84.js → 5.DLbPVJY2.js} +1 -1
- package/web/.svelte-kit/output/client/_app/version.json +1 -1
- package/web/.svelte-kit/output/server/.vite/manifest.json +12 -10
- package/web/.svelte-kit/output/server/chunks/Icon.js +1 -1
- package/web/.svelte-kit/output/server/chunks/client.js +1 -1
- package/web/.svelte-kit/output/server/chunks/exports.js +1 -1
- package/web/.svelte-kit/output/server/chunks/index-server.js +2 -1
- package/web/.svelte-kit/output/server/chunks/internal.js +1 -1
- package/web/.svelte-kit/output/server/chunks/render-context.js +77 -0
- package/web/.svelte-kit/output/server/chunks/root.js +739 -788
- package/web/.svelte-kit/output/server/chunks/shared.js +234 -21
- package/web/.svelte-kit/output/server/index.js +126 -90
- package/web/.svelte-kit/output/server/manifest-full.js +1 -1
- package/web/.svelte-kit/output/server/manifest.js +1 -1
- package/web/.svelte-kit/output/server/nodes/0.js +1 -1
- package/web/.svelte-kit/output/server/nodes/1.js +1 -1
- package/web/.svelte-kit/output/server/nodes/2.js +1 -1
- package/web/.svelte-kit/output/server/nodes/3.js +1 -1
- package/web/.svelte-kit/output/server/nodes/4.js +1 -1
- package/web/.svelte-kit/output/server/nodes/5.js +1 -1
- package/web/.svelte-kit/output/server/remote-entry.js +245 -81
- package/web/.svelte-kit/tsconfig.json +4 -1
- package/dist/cli/propose-policy.mjs.map +0 -1
- package/dist/lite-CBxOT1y5.mjs +0 -241
- package/dist/lite-CBxOT1y5.mjs.map +0 -1
- package/dist/routing-D8rTxtaV.mjs +0 -245
- package/dist/routing-D8rTxtaV.mjs.map +0 -1
- package/dist/web/_app/immutable/chunks/B6YN0Nuq.js +0 -1
- package/dist/web/_app/immutable/chunks/BmRlVmv6.js +0 -1
- package/dist/web/_app/immutable/chunks/CK9JZLaG.js +0 -2
- package/dist/web/_app/immutable/chunks/Ck3rYNON.js +0 -1
- package/dist/web/_app/immutable/chunks/DMtIqaiV.js +0 -2
- package/dist/web/_app/immutable/chunks/DhD271EB.js +0 -1
- package/dist/web/_app/immutable/chunks/DpuLqk8d.js +0 -1
- package/dist/web/_app/immutable/chunks/DsIToJCP.js +0 -1
- package/dist/web/_app/immutable/chunks/bBmtyQMj.js +0 -1
- package/dist/web/_app/immutable/entry/app.CJmSwntr.js +0 -2
- package/dist/web/_app/immutable/entry/start.ZpUrT2ak.js +0 -1
- package/dist/web/_app/immutable/nodes/1.Bli0Hqzn.js +0 -1
- package/dist/web/_app/immutable/nodes/4.oBhvQhcA.js +0 -60
- package/dist/workspace-BJmJBfKi.mjs +0 -456
- package/dist/workspace-BJmJBfKi.mjs.map +0 -1
- package/src/cli/e2e/agents.test.ts +0 -140
- package/src/cli/e2e/basic.test.ts +0 -43
- package/src/cli/e2e/cron.test.ts +0 -132
- package/src/cli/e2e/export-lite-func.test.ts +0 -206
- package/src/cli/e2e/fallbacks.test.ts +0 -175
- package/src/cli/e2e/init.test.ts +0 -77
- package/src/cli/e2e/messages.test.ts +0 -332
- package/src/cli/e2e/propose-policy.test.ts +0 -203
- package/src/cli/e2e/requests.test.ts +0 -180
- package/src/cli/e2e/session-timeout.test.ts +0 -192
- package/src/cli/e2e/slash-new.test.ts +0 -93
- package/src/cli/e2e/subagents.test.ts +0 -106
- package/src/cli/e2e/utils.ts +0 -66
- package/src/cli/propose-policy.ts +0 -91
- package/web/.svelte-kit/output/client/_app/immutable/chunks/B6YN0Nuq.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BmRlVmv6.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/CK9JZLaG.js +0 -2
- package/web/.svelte-kit/output/client/_app/immutable/chunks/Ck3rYNON.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DMtIqaiV.js +0 -2
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DhD271EB.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DpuLqk8d.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DsIToJCP.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/bBmtyQMj.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/entry/app.CJmSwntr.js +0 -2
- package/web/.svelte-kit/output/client/_app/immutable/entry/start.ZpUrT2ak.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/nodes/1.Bli0Hqzn.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/nodes/4.oBhvQhcA.js +0 -60
- package/web/.svelte-kit/output/server/chunks/false.js +0 -4
- /package/dist/cli/{propose-policy.d.mts → manage-policies.d.mts} +0 -0
- /package/{src/cli/e2e → e2e/_helpers}/global-setup.ts +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# validate.sh - Validates a skill directory for a SKILL.md with valid frontmatter
|
|
4
|
+
|
|
5
|
+
if [ -z "$1" ]; then
|
|
6
|
+
echo "Usage: ./validate.sh <path_to_skill_directory>"
|
|
7
|
+
exit 1
|
|
8
|
+
fi
|
|
9
|
+
|
|
10
|
+
SKILL_DIR="$1"
|
|
11
|
+
SKILL_FILE="$SKILL_DIR/SKILL.md"
|
|
12
|
+
|
|
13
|
+
if [ ! -d "$SKILL_DIR" ]; then
|
|
14
|
+
echo "Error: Directory $SKILL_DIR does not exist."
|
|
15
|
+
exit 1
|
|
16
|
+
fi
|
|
17
|
+
|
|
18
|
+
if [ ! -f "$SKILL_FILE" ]; then
|
|
19
|
+
echo "Error: $SKILL_FILE does not exist. A skill must have a SKILL.md file."
|
|
20
|
+
exit 1
|
|
21
|
+
fi
|
|
22
|
+
|
|
23
|
+
# Check for YAML frontmatter
|
|
24
|
+
if ! head -n 1 "$SKILL_FILE" | grep -q "^---$"; then
|
|
25
|
+
echo "Error: $SKILL_FILE must begin with YAML frontmatter (---)."
|
|
26
|
+
exit 1
|
|
27
|
+
fi
|
|
28
|
+
|
|
29
|
+
# Extract frontmatter block
|
|
30
|
+
FRONTMATTER=$(awk '/^---$/{p++} p==1{print} p==2{print; exit}' "$SKILL_FILE")
|
|
31
|
+
|
|
32
|
+
# Check for name and description
|
|
33
|
+
if ! echo "$FRONTMATTER" | grep -q "^name: "; then
|
|
34
|
+
echo "Error: Frontmatter is missing required 'name' field."
|
|
35
|
+
exit 1
|
|
36
|
+
fi
|
|
37
|
+
|
|
38
|
+
if ! echo "$FRONTMATTER" | grep -q "^description: "; then
|
|
39
|
+
echo "Error: Frontmatter is missing required 'description' field."
|
|
40
|
+
exit 1
|
|
41
|
+
fi
|
|
42
|
+
|
|
43
|
+
DIR_NAME=$(basename "$SKILL_DIR")
|
|
44
|
+
NAME_FIELD=$(echo "$FRONTMATTER" | grep "^name: " | sed 's/^name: *//' | tr -d '"' | tr -d "'")
|
|
45
|
+
|
|
46
|
+
if [ "$DIR_NAME" != "$NAME_FIELD" ]; then
|
|
47
|
+
echo "Error: Directory name ('$DIR_NAME') must match the 'name' field in frontmatter ('$NAME_FIELD')."
|
|
48
|
+
exit 1
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
echo "Success: Skill directory '$SKILL_DIR' is valid!"
|
|
52
|
+
exit 0
|
package/tsdown.config.ts
CHANGED
|
@@ -17,7 +17,16 @@ export default defineConfig([
|
|
|
17
17
|
inlineOnly: false,
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
entry: ['src/cli/
|
|
20
|
+
entry: ['src/cli/manage-policies.ts'],
|
|
21
|
+
format: 'esm',
|
|
22
|
+
dts: true,
|
|
23
|
+
clean: false,
|
|
24
|
+
outDir: 'dist/cli',
|
|
25
|
+
noExternal: [/(.*)/],
|
|
26
|
+
inlineOnly: false,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
entry: ['src/cli/run-host.ts'],
|
|
21
30
|
format: 'esm',
|
|
22
31
|
dts: true,
|
|
23
32
|
clean: false,
|
package/vitest.config.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { defineConfig } from 'vitest/config';
|
|
|
2
2
|
|
|
3
3
|
export default defineConfig({
|
|
4
4
|
test: {
|
|
5
|
-
include: ['src/**/*.{test,spec}.{js,ts}'],
|
|
5
|
+
include: ['src/**/*.{test,spec}.{js,ts}', 'e2e/**/*.{test,spec}.{js,ts}'],
|
|
6
6
|
exclude: ['web/**', 'node_modules/**', 'dist/**'],
|
|
7
|
-
globalSetup: ['
|
|
7
|
+
globalSetup: ['e2e/_helpers/global-setup.ts'],
|
|
8
8
|
},
|
|
9
9
|
});
|
|
@@ -38,101 +38,159 @@
|
|
|
38
38
|
* The above values will be the same _even if_ different values for `ENVIRONMENT` or `PUBLIC_BASE_URL` are set at runtime, as they are statically replaced in your code with their build time values.
|
|
39
39
|
*/
|
|
40
40
|
declare module '$env/static/private' {
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
54
|
-
export const
|
|
55
|
-
export const
|
|
56
|
-
export const
|
|
57
|
-
export const HOMEBREW_REPOSITORY: string;
|
|
58
|
-
export const TMPDIR: string;
|
|
59
|
-
export const npm_config_global_prefix: string;
|
|
60
|
-
export const TERM_PROGRAM_VERSION: string;
|
|
61
|
-
export const COLOR: string;
|
|
62
|
-
export const rvm_hook: string;
|
|
63
|
-
export const MY_RUBY_HOME: string;
|
|
41
|
+
export const GITHUB_TOKEN: string;
|
|
42
|
+
export const GITHUB_STATE: string;
|
|
43
|
+
export const DOTNET_NOLOGO: string;
|
|
44
|
+
export const ACTIONS_RUNTIME_TOKEN: string;
|
|
45
|
+
export const USER: string;
|
|
46
|
+
export const ACTIONS_CACHE_URL: string;
|
|
47
|
+
export const npm_config_always_auth: string;
|
|
48
|
+
export const npm_config_user_agent: string;
|
|
49
|
+
export const CI: string;
|
|
50
|
+
export const USE_BAZEL_FALLBACK_VERSION: string;
|
|
51
|
+
export const PIPX_HOME: string;
|
|
52
|
+
export const GITHUB_ENV: string;
|
|
53
|
+
export const RUNNER_ENVIRONMENT: string;
|
|
54
|
+
export const npm_node_execpath: string;
|
|
55
|
+
export const JAVA_HOME_8_X64: string;
|
|
56
|
+
export const NODE_AUTH_TOKEN: string;
|
|
64
57
|
export const npm_config_noproxy: string;
|
|
58
|
+
export const HOME: string;
|
|
59
|
+
export const npm_package_bin_clawmini: string;
|
|
60
|
+
export const GITHUB_EVENT_PATH: string;
|
|
61
|
+
export const RUNNER_TEMP: string;
|
|
62
|
+
export const npm_package_json: string;
|
|
63
|
+
export const PIPX_BIN_DIR: string;
|
|
64
|
+
export const JAVA_HOME_11_X64: string;
|
|
65
|
+
export const GITHUB_REPOSITORY_OWNER: string;
|
|
66
|
+
export const ANDROID_NDK_LATEST_HOME: string;
|
|
67
|
+
export const JAVA_HOME_21_X64: string;
|
|
68
|
+
export const GRADLE_HOME: string;
|
|
69
|
+
export const GITHUB_RETENTION_DAYS: string;
|
|
70
|
+
export const AZURE_EXTENSION_DIR: string;
|
|
71
|
+
export const POWERSHELL_DISTRIBUTION_CHANNEL: string;
|
|
72
|
+
export const GITHUB_REPOSITORY_OWNER_ID: string;
|
|
73
|
+
export const GITHUB_HEAD_REF: string;
|
|
65
74
|
export const npm_config_local_prefix: string;
|
|
66
|
-
export const
|
|
67
|
-
export const
|
|
75
|
+
export const SYSTEMD_EXEC_PID: string;
|
|
76
|
+
export const ACTIONS_ORCHESTRATION_ID: string;
|
|
77
|
+
export const GITHUB_GRAPHQL_URL: string;
|
|
78
|
+
export const ACTIONS_CACHE_SERVICE_V2: string;
|
|
79
|
+
export const COLOR: string;
|
|
80
|
+
export const JAVA_HOME_25_X64: string;
|
|
68
81
|
export const NVM_DIR: string;
|
|
69
|
-
export const
|
|
70
|
-
export const
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
74
|
-
export const
|
|
75
|
-
export const
|
|
76
|
-
export const
|
|
77
|
-
export const
|
|
78
|
-
export const
|
|
79
|
-
export const
|
|
80
|
-
export const
|
|
81
|
-
export const
|
|
82
|
-
export const
|
|
83
|
-
export const
|
|
84
|
-
export const
|
|
82
|
+
export const INPUT_CWD: string;
|
|
83
|
+
export const JAVA_HOME_17_X64: string;
|
|
84
|
+
export const DOTNET_SKIP_FIRST_TIME_EXPERIENCE: string;
|
|
85
|
+
export const ImageVersion: string;
|
|
86
|
+
export const INPUT_PUBLISH: string;
|
|
87
|
+
export const INPUT_COMMIT: string;
|
|
88
|
+
export const SWIFT_PATH: string;
|
|
89
|
+
export const LOGNAME: string;
|
|
90
|
+
export const GOROOT_1_22_X64: string;
|
|
91
|
+
export const GITHUB_API_URL: string;
|
|
92
|
+
export const RUNNER_OS: string;
|
|
93
|
+
export const ACTIONS_RUNTIME_URL: string;
|
|
94
|
+
export const CHROMEWEBDRIVER: string;
|
|
95
|
+
export const JOURNAL_STREAM: string;
|
|
96
|
+
export const GOROOT_1_23_X64: string;
|
|
97
|
+
export const GITHUB_WORKFLOW: string;
|
|
98
|
+
export const npm_config_prefix: string;
|
|
99
|
+
export const npm_config_npm_version: string;
|
|
100
|
+
export const MEMORY_PRESSURE_WATCH: string;
|
|
101
|
+
export const GOROOT_1_24_X64: string;
|
|
102
|
+
export const NPM_CONFIG_PROVENANCE: string;
|
|
103
|
+
export const GOROOT_1_25_X64: string;
|
|
104
|
+
export const ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: string;
|
|
105
|
+
export const GITHUB_RUN_ID: string;
|
|
106
|
+
export const npm_config_cache: string;
|
|
107
|
+
export const BOOTSTRAP_HASKELL_NONINTERACTIVE: string;
|
|
108
|
+
export const ImageOS: string;
|
|
109
|
+
export const GITHUB_BASE_REF: string;
|
|
110
|
+
export const GITHUB_REF_TYPE: string;
|
|
111
|
+
export const GITHUB_WORKFLOW_SHA: string;
|
|
112
|
+
export const ENABLE_RUNNER_TRACING: string;
|
|
113
|
+
export const GITHUB_WORKFLOW_REF: string;
|
|
114
|
+
export const GITHUB_ACTION_REPOSITORY: string;
|
|
115
|
+
export const ACTIONS_ID_TOKEN_REQUEST_TOKEN: string;
|
|
116
|
+
export const npm_config_node_gyp: string;
|
|
85
117
|
export const PATH: string;
|
|
86
|
-
export const
|
|
87
|
-
export const
|
|
88
|
-
export const
|
|
89
|
-
export const
|
|
90
|
-
export const
|
|
91
|
-
export const
|
|
92
|
-
export const
|
|
93
|
-
export const
|
|
94
|
-
export const npm_lifecycle_event: string;
|
|
95
|
-
export const EDITOR: string;
|
|
118
|
+
export const RUNNER_TRACKING_ID: string;
|
|
119
|
+
export const ANT_HOME: string;
|
|
120
|
+
export const RUNNER_TOOL_CACHE: string;
|
|
121
|
+
export const DOTNET_MULTILEVEL_LOOKUP: string;
|
|
122
|
+
export const INVOCATION_ID: string;
|
|
123
|
+
export const NPM_CONFIG_USERCONFIG: string;
|
|
124
|
+
export const INPUT_TITLE: string;
|
|
125
|
+
export const NODE: string;
|
|
96
126
|
export const npm_package_name: string;
|
|
97
|
-
export const
|
|
127
|
+
export const AGENT_TOOLSDIRECTORY: string;
|
|
128
|
+
export const XDG_RUNTIME_DIR: string;
|
|
129
|
+
export const GITHUB_RUN_NUMBER: string;
|
|
130
|
+
export const GITHUB_TRIGGERING_ACTOR: string;
|
|
131
|
+
export const GITHUB_ACTION: string;
|
|
132
|
+
export const RUNNER_ARCH: string;
|
|
133
|
+
export const VCPKG_INSTALLATION_ROOT: string;
|
|
98
134
|
export const LANG: string;
|
|
99
|
-
export const
|
|
100
|
-
export const
|
|
101
|
-
export const
|
|
102
|
-
export const
|
|
103
|
-
export const
|
|
104
|
-
export const XPC_SERVICE_NAME: string;
|
|
105
|
-
export const rvm_version: string;
|
|
106
|
-
export const GEMINI_API_KEY: string;
|
|
107
|
-
export const rvm_script_name: string;
|
|
108
|
-
export const rvm_pretty_print_flag: string;
|
|
109
|
-
export const HOME: string;
|
|
110
|
-
export const SHLVL: string;
|
|
111
|
-
export const rvm_ruby_mode: string;
|
|
112
|
-
export const TERMINFO: string;
|
|
113
|
-
export const HOMEBREW_PREFIX: string;
|
|
114
|
-
export const npm_config_cache: string;
|
|
115
|
-
export const LESS: string;
|
|
116
|
-
export const LOGNAME: string;
|
|
135
|
+
export const CONDA: string;
|
|
136
|
+
export const XDG_CONFIG_HOME: string;
|
|
137
|
+
export const GITHUB_REPOSITORY: string;
|
|
138
|
+
export const GITHUB_REF_NAME: string;
|
|
139
|
+
export const RUNNER_NAME: string;
|
|
117
140
|
export const npm_lifecycle_script: string;
|
|
118
|
-
export const
|
|
119
|
-
export const
|
|
120
|
-
export const
|
|
121
|
-
export const
|
|
122
|
-
export const
|
|
123
|
-
export const
|
|
124
|
-
export const
|
|
125
|
-
export const
|
|
126
|
-
export const
|
|
127
|
-
export const
|
|
128
|
-
export const
|
|
129
|
-
export const
|
|
130
|
-
export const
|
|
131
|
-
export const
|
|
132
|
-
export const
|
|
133
|
-
export const
|
|
134
|
-
export const
|
|
135
|
-
export const
|
|
141
|
+
export const DEBIAN_FRONTEND: string;
|
|
142
|
+
export const ANDROID_NDK_ROOT: string;
|
|
143
|
+
export const INPUT_CREATEGITHUBRELEASES: string;
|
|
144
|
+
export const INPUT_BRANCH: string;
|
|
145
|
+
export const GITHUB_ACTION_REF: string;
|
|
146
|
+
export const SHELL: string;
|
|
147
|
+
export const GITHUB_ACTIONS: string;
|
|
148
|
+
export const GITHUB_REPOSITORY_ID: string;
|
|
149
|
+
export const npm_package_version: string;
|
|
150
|
+
export const npm_lifecycle_event: string;
|
|
151
|
+
export const GITHUB_REF_PROTECTED: string;
|
|
152
|
+
export const ACCEPT_EULA: string;
|
|
153
|
+
export const INPUT_VERSION: string;
|
|
154
|
+
export const GITHUB_JOB: string;
|
|
155
|
+
export const GITHUB_WORKSPACE: string;
|
|
156
|
+
export const ACTIONS_RESULTS_URL: string;
|
|
157
|
+
export const GITHUB_SHA: string;
|
|
158
|
+
export const GITHUB_RUN_ATTEMPT: string;
|
|
159
|
+
export const ANDROID_SDK_ROOT: string;
|
|
160
|
+
export const GITHUB_REF: string;
|
|
161
|
+
export const GITHUB_ACTOR: string;
|
|
162
|
+
export const npm_config_globalconfig: string;
|
|
163
|
+
export const npm_config_init_module: string;
|
|
164
|
+
export const JAVA_HOME: string;
|
|
165
|
+
export const GITHUB_ACTOR_ID: string;
|
|
166
|
+
export const GITHUB_PATH: string;
|
|
167
|
+
export const RUNNER_WORKSPACE: string;
|
|
168
|
+
export const npm_execpath: string;
|
|
169
|
+
export const PWD: string;
|
|
170
|
+
export const GECKOWEBDRIVER: string;
|
|
171
|
+
export const HOMEBREW_NO_AUTO_UPDATE: string;
|
|
172
|
+
export const ANDROID_HOME: string;
|
|
173
|
+
export const HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: string;
|
|
174
|
+
export const GHCUP_INSTALL_BASE_PREFIX: string;
|
|
175
|
+
export const INPUT_COMMITMODE: string;
|
|
176
|
+
export const GITHUB_EVENT_NAME: string;
|
|
177
|
+
export const GITHUB_SERVER_URL: string;
|
|
178
|
+
export const GITHUB_OUTPUT: string;
|
|
179
|
+
export const ACTIONS_ID_TOKEN_REQUEST_URL: string;
|
|
180
|
+
export const npm_config_global_prefix: string;
|
|
181
|
+
export const EDGEWEBDRIVER: string;
|
|
182
|
+
export const npm_command: string;
|
|
183
|
+
export const CHROME_BIN: string;
|
|
184
|
+
export const ANDROID_NDK: string;
|
|
185
|
+
export const SGX_AESM_ADDR: string;
|
|
186
|
+
export const PSModulePath: string;
|
|
187
|
+
export const SELENIUM_JAR_PATH: string;
|
|
188
|
+
export const MEMORY_PRESSURE_WRITE: string;
|
|
189
|
+
export const INPUT_SETUPGITUSER: string;
|
|
190
|
+
export const ANDROID_NDK_HOME: string;
|
|
191
|
+
export const GITHUB_STEP_SUMMARY: string;
|
|
192
|
+
export const INIT_CWD: string;
|
|
193
|
+
export const EDITOR: string;
|
|
136
194
|
export const NODE_ENV: string;
|
|
137
195
|
export const PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS: string;
|
|
138
196
|
}
|
|
@@ -221,101 +279,159 @@ declare module '$env/static/public' {
|
|
|
221
279
|
*/
|
|
222
280
|
declare module '$env/dynamic/private' {
|
|
223
281
|
export const env: {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
HOMEBREW_REPOSITORY: string;
|
|
241
|
-
TMPDIR: string;
|
|
242
|
-
npm_config_global_prefix: string;
|
|
243
|
-
TERM_PROGRAM_VERSION: string;
|
|
244
|
-
COLOR: string;
|
|
245
|
-
rvm_hook: string;
|
|
246
|
-
MY_RUBY_HOME: string;
|
|
282
|
+
GITHUB_TOKEN: string;
|
|
283
|
+
GITHUB_STATE: string;
|
|
284
|
+
DOTNET_NOLOGO: string;
|
|
285
|
+
ACTIONS_RUNTIME_TOKEN: string;
|
|
286
|
+
USER: string;
|
|
287
|
+
ACTIONS_CACHE_URL: string;
|
|
288
|
+
npm_config_always_auth: string;
|
|
289
|
+
npm_config_user_agent: string;
|
|
290
|
+
CI: string;
|
|
291
|
+
USE_BAZEL_FALLBACK_VERSION: string;
|
|
292
|
+
PIPX_HOME: string;
|
|
293
|
+
GITHUB_ENV: string;
|
|
294
|
+
RUNNER_ENVIRONMENT: string;
|
|
295
|
+
npm_node_execpath: string;
|
|
296
|
+
JAVA_HOME_8_X64: string;
|
|
297
|
+
NODE_AUTH_TOKEN: string;
|
|
247
298
|
npm_config_noproxy: string;
|
|
299
|
+
HOME: string;
|
|
300
|
+
npm_package_bin_clawmini: string;
|
|
301
|
+
GITHUB_EVENT_PATH: string;
|
|
302
|
+
RUNNER_TEMP: string;
|
|
303
|
+
npm_package_json: string;
|
|
304
|
+
PIPX_BIN_DIR: string;
|
|
305
|
+
JAVA_HOME_11_X64: string;
|
|
306
|
+
GITHUB_REPOSITORY_OWNER: string;
|
|
307
|
+
ANDROID_NDK_LATEST_HOME: string;
|
|
308
|
+
JAVA_HOME_21_X64: string;
|
|
309
|
+
GRADLE_HOME: string;
|
|
310
|
+
GITHUB_RETENTION_DAYS: string;
|
|
311
|
+
AZURE_EXTENSION_DIR: string;
|
|
312
|
+
POWERSHELL_DISTRIBUTION_CHANNEL: string;
|
|
313
|
+
GITHUB_REPOSITORY_OWNER_ID: string;
|
|
314
|
+
GITHUB_HEAD_REF: string;
|
|
248
315
|
npm_config_local_prefix: string;
|
|
249
|
-
|
|
250
|
-
|
|
316
|
+
SYSTEMD_EXEC_PID: string;
|
|
317
|
+
ACTIONS_ORCHESTRATION_ID: string;
|
|
318
|
+
GITHUB_GRAPHQL_URL: string;
|
|
319
|
+
ACTIONS_CACHE_SERVICE_V2: string;
|
|
320
|
+
COLOR: string;
|
|
321
|
+
JAVA_HOME_25_X64: string;
|
|
251
322
|
NVM_DIR: string;
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
323
|
+
INPUT_CWD: string;
|
|
324
|
+
JAVA_HOME_17_X64: string;
|
|
325
|
+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: string;
|
|
326
|
+
ImageVersion: string;
|
|
327
|
+
INPUT_PUBLISH: string;
|
|
328
|
+
INPUT_COMMIT: string;
|
|
329
|
+
SWIFT_PATH: string;
|
|
330
|
+
LOGNAME: string;
|
|
331
|
+
GOROOT_1_22_X64: string;
|
|
332
|
+
GITHUB_API_URL: string;
|
|
333
|
+
RUNNER_OS: string;
|
|
334
|
+
ACTIONS_RUNTIME_URL: string;
|
|
335
|
+
CHROMEWEBDRIVER: string;
|
|
336
|
+
JOURNAL_STREAM: string;
|
|
337
|
+
GOROOT_1_23_X64: string;
|
|
338
|
+
GITHUB_WORKFLOW: string;
|
|
339
|
+
npm_config_prefix: string;
|
|
340
|
+
npm_config_npm_version: string;
|
|
341
|
+
MEMORY_PRESSURE_WATCH: string;
|
|
342
|
+
GOROOT_1_24_X64: string;
|
|
343
|
+
NPM_CONFIG_PROVENANCE: string;
|
|
344
|
+
GOROOT_1_25_X64: string;
|
|
345
|
+
ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: string;
|
|
346
|
+
GITHUB_RUN_ID: string;
|
|
347
|
+
npm_config_cache: string;
|
|
348
|
+
BOOTSTRAP_HASKELL_NONINTERACTIVE: string;
|
|
349
|
+
ImageOS: string;
|
|
350
|
+
GITHUB_BASE_REF: string;
|
|
351
|
+
GITHUB_REF_TYPE: string;
|
|
352
|
+
GITHUB_WORKFLOW_SHA: string;
|
|
353
|
+
ENABLE_RUNNER_TRACING: string;
|
|
354
|
+
GITHUB_WORKFLOW_REF: string;
|
|
355
|
+
GITHUB_ACTION_REPOSITORY: string;
|
|
356
|
+
ACTIONS_ID_TOKEN_REQUEST_TOKEN: string;
|
|
357
|
+
npm_config_node_gyp: string;
|
|
268
358
|
PATH: string;
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
npm_lifecycle_event: string;
|
|
278
|
-
EDITOR: string;
|
|
359
|
+
RUNNER_TRACKING_ID: string;
|
|
360
|
+
ANT_HOME: string;
|
|
361
|
+
RUNNER_TOOL_CACHE: string;
|
|
362
|
+
DOTNET_MULTILEVEL_LOOKUP: string;
|
|
363
|
+
INVOCATION_ID: string;
|
|
364
|
+
NPM_CONFIG_USERCONFIG: string;
|
|
365
|
+
INPUT_TITLE: string;
|
|
366
|
+
NODE: string;
|
|
279
367
|
npm_package_name: string;
|
|
280
|
-
|
|
368
|
+
AGENT_TOOLSDIRECTORY: string;
|
|
369
|
+
XDG_RUNTIME_DIR: string;
|
|
370
|
+
GITHUB_RUN_NUMBER: string;
|
|
371
|
+
GITHUB_TRIGGERING_ACTOR: string;
|
|
372
|
+
GITHUB_ACTION: string;
|
|
373
|
+
RUNNER_ARCH: string;
|
|
374
|
+
VCPKG_INSTALLATION_ROOT: string;
|
|
281
375
|
LANG: string;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
XPC_SERVICE_NAME: string;
|
|
288
|
-
rvm_version: string;
|
|
289
|
-
GEMINI_API_KEY: string;
|
|
290
|
-
rvm_script_name: string;
|
|
291
|
-
rvm_pretty_print_flag: string;
|
|
292
|
-
HOME: string;
|
|
293
|
-
SHLVL: string;
|
|
294
|
-
rvm_ruby_mode: string;
|
|
295
|
-
TERMINFO: string;
|
|
296
|
-
HOMEBREW_PREFIX: string;
|
|
297
|
-
npm_config_cache: string;
|
|
298
|
-
LESS: string;
|
|
299
|
-
LOGNAME: string;
|
|
376
|
+
CONDA: string;
|
|
377
|
+
XDG_CONFIG_HOME: string;
|
|
378
|
+
GITHUB_REPOSITORY: string;
|
|
379
|
+
GITHUB_REF_NAME: string;
|
|
380
|
+
RUNNER_NAME: string;
|
|
300
381
|
npm_lifecycle_script: string;
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
382
|
+
DEBIAN_FRONTEND: string;
|
|
383
|
+
ANDROID_NDK_ROOT: string;
|
|
384
|
+
INPUT_CREATEGITHUBRELEASES: string;
|
|
385
|
+
INPUT_BRANCH: string;
|
|
386
|
+
GITHUB_ACTION_REF: string;
|
|
387
|
+
SHELL: string;
|
|
388
|
+
GITHUB_ACTIONS: string;
|
|
389
|
+
GITHUB_REPOSITORY_ID: string;
|
|
390
|
+
npm_package_version: string;
|
|
391
|
+
npm_lifecycle_event: string;
|
|
392
|
+
GITHUB_REF_PROTECTED: string;
|
|
393
|
+
ACCEPT_EULA: string;
|
|
394
|
+
INPUT_VERSION: string;
|
|
395
|
+
GITHUB_JOB: string;
|
|
396
|
+
GITHUB_WORKSPACE: string;
|
|
397
|
+
ACTIONS_RESULTS_URL: string;
|
|
398
|
+
GITHUB_SHA: string;
|
|
399
|
+
GITHUB_RUN_ATTEMPT: string;
|
|
400
|
+
ANDROID_SDK_ROOT: string;
|
|
401
|
+
GITHUB_REF: string;
|
|
402
|
+
GITHUB_ACTOR: string;
|
|
403
|
+
npm_config_globalconfig: string;
|
|
404
|
+
npm_config_init_module: string;
|
|
405
|
+
JAVA_HOME: string;
|
|
406
|
+
GITHUB_ACTOR_ID: string;
|
|
407
|
+
GITHUB_PATH: string;
|
|
408
|
+
RUNNER_WORKSPACE: string;
|
|
409
|
+
npm_execpath: string;
|
|
410
|
+
PWD: string;
|
|
411
|
+
GECKOWEBDRIVER: string;
|
|
412
|
+
HOMEBREW_NO_AUTO_UPDATE: string;
|
|
413
|
+
ANDROID_HOME: string;
|
|
414
|
+
HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: string;
|
|
415
|
+
GHCUP_INSTALL_BASE_PREFIX: string;
|
|
416
|
+
INPUT_COMMITMODE: string;
|
|
417
|
+
GITHUB_EVENT_NAME: string;
|
|
418
|
+
GITHUB_SERVER_URL: string;
|
|
419
|
+
GITHUB_OUTPUT: string;
|
|
420
|
+
ACTIONS_ID_TOKEN_REQUEST_URL: string;
|
|
421
|
+
npm_config_global_prefix: string;
|
|
422
|
+
EDGEWEBDRIVER: string;
|
|
423
|
+
npm_command: string;
|
|
424
|
+
CHROME_BIN: string;
|
|
425
|
+
ANDROID_NDK: string;
|
|
426
|
+
SGX_AESM_ADDR: string;
|
|
427
|
+
PSModulePath: string;
|
|
428
|
+
SELENIUM_JAR_PATH: string;
|
|
429
|
+
MEMORY_PRESSURE_WRITE: string;
|
|
430
|
+
INPUT_SETUPGITUSER: string;
|
|
431
|
+
ANDROID_NDK_HOME: string;
|
|
432
|
+
GITHUB_STEP_SUMMARY: string;
|
|
433
|
+
INIT_CWD: string;
|
|
434
|
+
EDITOR: string;
|
|
319
435
|
NODE_ENV: string;
|
|
320
436
|
PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS: string;
|
|
321
437
|
[key: `PUBLIC_${string}`]: undefined;
|
|
@@ -25,7 +25,7 @@ export const options = {
|
|
|
25
25
|
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, interactive-widget=resizes-content\" />\n\t\t" + head + "\n\t</head>\n\t<body data-sveltekit-preload-data=\"hover\">\n\t\t<div style=\"display: contents\">" + body + "</div>\n\t</body>\n</html>\n",
|
|
26
26
|
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
27
27
|
},
|
|
28
|
-
version_hash: "
|
|
28
|
+
version_hash: "10aquqa"
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
export async function get_hooks() {
|