svamp-cli 0.2.342 → 0.2.356
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/bin/skills/artifact/SKILL.md +19 -5
- package/bin/skills/crew/SKILL.md +62 -13
- package/dist/DefaultTransport-vfp78fug.mjs +47 -0
- package/dist/GeminiTransport-3OkhtFRO.mjs +130 -0
- package/dist/KimiTransport-D8n009Tr.mjs +141 -0
- package/dist/acpAgentConfig-CObOPlA8.mjs +48 -0
- package/dist/acpBackend-UaBD4zL3.mjs +925 -0
- package/dist/{adminCommands-CRTBDZan.mjs → adminCommands-BvsYnRDA.mjs} +2 -18
- package/dist/{agentCommands-BuO988tJ.mjs → agentCommands-D91RcjqQ.mjs} +6 -23
- package/dist/api-BHjyC0Ph.mjs +157 -0
- package/dist/{auth--WS0wezs.mjs → auth-CRz8TsEl.mjs} +1 -22
- package/dist/bootStatus-DqtNgJch.mjs +143 -0
- package/dist/claudeAuth-C0wc1GTM.mjs +291 -0
- package/dist/cli.mjs +2948 -5
- package/dist/codexAppServerBackend-VGsYtbqg.mjs +786 -0
- package/dist/codexProvider-BtxYc5Rj.mjs +68 -0
- package/dist/{commands-DDuGBSsz.mjs → commands-B-yczgz_.mjs} +115 -49
- package/dist/{commands-DU4B-4Gh.mjs → commands-BMeDrpSv.mjs} +55 -25
- package/dist/{commands-DXLOKJOj.mjs → commands-BbmypSgx.mjs} +62 -27
- package/dist/{commands-C0HQiu-S.mjs → commands-BkdbelFo.mjs} +78 -38
- package/dist/{commands-DXM17M6n.mjs → commands-C13-yE2R.mjs} +42 -19
- package/dist/{commands-BKb1g8Gq.mjs → commands-CoOc4qiw.mjs} +20 -30
- package/dist/{commands-BsKgZ5sQ.mjs → commands-DW5RnHZw.mjs} +2 -19
- package/dist/{commands-Cwxy-C5N.mjs → commands-sPvRcG3J.mjs} +10 -32
- package/dist/cron-hHGdb5kU.mjs +132 -0
- package/dist/detectIsolation-CrV8IFDv.mjs +339 -0
- package/dist/envFlag-COOuJ3AH.mjs +11 -0
- package/dist/fileLock-BMPwCrB6.mjs +80 -0
- package/dist/{fleet-BHzlAvnu.mjs → fleet-Ca-UjJNL.mjs} +122 -36
- package/dist/flushExit-C-i6SGjj.mjs +37 -0
- package/dist/friendlyName-1UZcyDhu.mjs +586 -0
- package/dist/{headlessCli-C2gvOpOt.mjs → headlessCli-C8HzQvis.mjs} +3 -21
- package/dist/hookSettings-FFc1pi8j.mjs +10546 -0
- package/dist/{httpServer-Be1Hcddr.mjs → httpServer-BzEDbOGn.mjs} +14 -5
- package/dist/hyphaClient-ybivOjZo.mjs +49 -0
- package/dist/index.mjs +40 -8
- package/dist/instance-CeHz5C8v.mjs +203 -0
- package/dist/kimiProvider-DbxODebR.mjs +69 -0
- package/dist/kimiSetup-NGsoYB5h.mjs +48 -0
- package/dist/loopVerify-DALtTk2V.mjs +444 -0
- package/dist/machineTools-DygM1jXW.mjs +580 -0
- package/dist/model-CUHojegn.mjs +66 -0
- package/dist/{notifyCommands-0aZUwKQK.mjs → notifyCommands-CCUE18Q-.mjs} +3 -18
- package/dist/package-BrsiNutS.mjs +64 -0
- package/dist/pinnedCodex-XW4qvOAe.mjs +11 -0
- package/dist/pinnedNono-5ZHb6328.mjs +15 -0
- package/dist/{rpc-rAQQ1q8t.mjs → rpc-CBkSkzsI.mjs} +38 -6
- package/dist/{rpc-B2Lc2BAB.mjs → rpc-ccY7xvlo.mjs} +33 -22
- package/dist/{run-C7QVfyw4.mjs → run-DCq3aEiF.mjs} +17 -9
- package/dist/run-DDmeV9K3.mjs +9826 -0
- package/dist/sandboxDetect-Cdzsj5TC.mjs +19 -0
- package/dist/{scheduler-CzF4lOe_.mjs → scheduler-BkVJ27Ki.mjs} +38 -6
- package/dist/securityContext-Cm5UTCuD.mjs +218 -0
- package/dist/serveAuth-4M0vwMyj.mjs +460 -0
- package/dist/{serveCommands-EIEqdaVu.mjs → serveCommands-CLhkccJM.mjs} +13 -34
- package/dist/sharingNotificationSync-qGIQ-3yf.mjs +359 -0
- package/dist/{sideband-BoutiRJi.mjs → sideband-68HhGT0i.mjs} +1 -21
- package/dist/store-B4E6NzG6.mjs +356 -0
- package/dist/store-fi0f-ff1.mjs +184 -0
- package/dist/types-57J3Re0n.mjs +17 -0
- package/dist/wantsHelp-6bMOeNUz.mjs +5 -0
- package/dist/wrapCommand-CdNawSaa.mjs +117 -0
- package/package.json +3 -3
- package/dist/cli-B24CmIli.mjs +0 -2780
- package/dist/package-CTbGYaJG.mjs +0 -64
- package/dist/run-CF4kAVPW.mjs +0 -26508
- package/dist/sandboxDetect-DNTcbgWD.mjs +0 -12
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
var name = "svamp-cli";
|
|
2
|
+
var version = "0.2.356";
|
|
3
|
+
var description = "Svamp CLI — AI workspace daemon on Hypha Cloud";
|
|
4
|
+
var author = "Amun AI AB";
|
|
5
|
+
var license = "SEE LICENSE IN LICENSE";
|
|
6
|
+
var type = "module";
|
|
7
|
+
var bin = {
|
|
8
|
+
svamp: "./bin/svamp.mjs"
|
|
9
|
+
};
|
|
10
|
+
var files = [
|
|
11
|
+
"dist",
|
|
12
|
+
"bin"
|
|
13
|
+
];
|
|
14
|
+
var main = "./dist/index.mjs";
|
|
15
|
+
var exports$1 = {
|
|
16
|
+
".": "./dist/index.mjs",
|
|
17
|
+
"./cli": "./dist/cli.mjs"
|
|
18
|
+
};
|
|
19
|
+
var scripts = {
|
|
20
|
+
build: "rm -rf dist bin/skills bin/commands && mkdir -p bin/skills && cp -r ../../skills/artifact bin/skills/artifact && cp -r ../../skills/crew bin/skills/crew && cp -r ../../commands bin/commands && tsc --noEmit && pkgroll",
|
|
21
|
+
typecheck: "tsc --noEmit",
|
|
22
|
+
test: "node test/with-timeout.mjs 420 npx tsx test/test-context-window.mjs && node test/with-timeout.mjs 420 npx tsx test/test-ratelimit-retry.mjs && node test/with-timeout.mjs 420 npx tsx test/test-completed-requests.mjs && node test/with-timeout.mjs 420 npx tsx test/test-reconnect-health.mjs &&node test/with-timeout.mjs 420 npx tsx test/test-fleet-version-parse.mjs &&node test/with-timeout.mjs 420 npx tsx test/test-instance-config.mjs && node test/with-timeout.mjs 420 npx tsx test/test-authorize.mjs && node test/with-timeout.mjs 420 npx tsx test/test-normalize-allowed-user.mjs && node test/with-timeout.mjs 420 npx tsx test/test-share-url.mjs && node test/with-timeout.mjs 420 npx tsx test/test-update-sharing-normalization.mjs && node test/with-timeout.mjs 420 npx tsx test/test-sharing-notify-sync.mjs && node test/with-timeout.mjs 420 npx tsx test/test-sharing-notify-resolve.mjs && node test/with-timeout.mjs 420 npx tsx test/test-staged-homes-sweep.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-helpers.mjs && node test/with-timeout.mjs 420 npx tsx test/test-cli-routing.mjs && node test/with-timeout.mjs 420 npx tsx test/test-security-context.mjs && node test/with-timeout.mjs 420 npx tsx test/test-isolation-decision.mjs && node test/with-timeout.mjs 420 npx tsx test/test-message-helpers.mjs && node test/with-timeout.mjs 420 npx tsx test/test-stdin-delivery.mjs && node test/with-timeout.mjs 420 npx tsx test/test-agent-config.mjs && node test/with-timeout.mjs 420 npx tsx test/test-wrap-command.mjs && node test/with-timeout.mjs 420 npx tsx test/test-credential-staging.mjs && node test/with-timeout.mjs 420 npx tsx test/test-claude-auth.mjs && node test/with-timeout.mjs 420 npx tsx test/test-backend-accounts.mjs && node test/with-timeout.mjs 420 npx tsx test/test-codex-force-model.mjs && node test/with-timeout.mjs 420 npx tsx test/test-backend-oauth.mjs && node test/with-timeout.mjs 420 npx tsx test/test-btw-proxy-env.mjs && node test/with-timeout.mjs 420 npx tsx test/test-output-formatters.mjs && node test/with-timeout.mjs 420 npx tsx test/test-inbox-guard.mjs && node test/with-timeout.mjs 420 npx tsx test/test-user-events.mjs && node test/with-timeout.mjs 420 npx tsx test/test-migrate-children.mjs && node test/with-timeout.mjs 420 npx tsx test/test-outpost-install.mjs && node test/with-timeout.mjs 420 npx tsx test/test-outpost-setup.mjs && node test/with-timeout.mjs 420 npx tsx test/test-outpost-pairing.mjs && node test/with-timeout.mjs 420 npx tsx test/test-outpost-coordinator.mjs && node test/with-timeout.mjs 420 npx tsx test/e2e-outpost-transport.mjs && node test/with-timeout.mjs 420 npx tsx test/test-inbox-reconcile.mjs && node test/with-timeout.mjs 420 npx tsx test/test-auto-topic.mjs && node test/with-timeout.mjs 420 npx tsx test/test-project-info.mjs && node test/with-timeout.mjs 420 npx tsx test/test-agent-types.mjs && node test/with-timeout.mjs 420 npx tsx test/test-transport.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-update-handlers.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-scanner.mjs && node test/with-timeout.mjs 420 npx tsx test/test-hypha-client.mjs && node test/with-timeout.mjs 420 npx tsx test/test-hook-settings.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-service-logic.mjs && node test/with-timeout.mjs 420 npx tsx test/test-daemon-persistence.mjs && node test/with-timeout.mjs 420 npx tsx test/test-detect-isolation.mjs && node test/with-timeout.mjs 420 npx tsx test/test-isolation-disable.mjs && node test/with-timeout.mjs 420 npx tsx test/test-machine-service-logic.mjs && node test/with-timeout.mjs 420 npx tsx test/test-machine-session-visibility.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-access-fallback.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-rpc-role-map.mjs && node test/with-timeout.mjs 420 npx tsx test/test-issue-workflow-op-roles.mjs && npx tsx test/test-issue-verify-cmd-authorship.mjs && node test/with-timeout.mjs 420 npx tsx test/test-interactive-helpers.mjs && node test/with-timeout.mjs 420 npx tsx test/test-pinned-codex.mjs && node test/with-timeout.mjs 420 npx tsx test/test-pinned-hypha-rpc.mjs && node test/with-timeout.mjs 420 npx tsx test/test-pinned-kimi.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channel-receive-cap.mjs && node test/with-timeout.mjs 420 npx tsx test/test-dns-shadowing.mjs && node test/with-timeout.mjs 420 npx tsx test/test-codex-request-timeout.mjs && node test/with-timeout.mjs 420 npx tsx test/test-codex-app-server.mjs && node test/with-timeout.mjs 420 npx tsx test/test-kimi-provider.mjs && node test/with-timeout.mjs 420 npx tsx test/test-acp-backend.mjs && node test/with-timeout.mjs 420 npx tsx test/test-acp-bridge.mjs && node test/with-timeout.mjs 420 npx tsx test/test-listener-backoff.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-identity-env.mjs && node test/with-timeout.mjs 420 npx tsx test/test-hook-server.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-commands.mjs && node test/with-timeout.mjs 420 npx tsx test/test-interactive-console.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-messages.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-send-query.mjs && node test/with-timeout.mjs 420 npx tsx test/test-skills.mjs && node test/with-timeout.mjs 420 npx tsx test/test-agent-grouping.mjs && node test/with-timeout.mjs 420 npx tsx test/test-machine-list-directory.mjs && node test/with-timeout.mjs 420 npx tsx test/test-service-commands.mjs && node test/with-timeout.mjs 420 npx tsx test/test-supervisor.mjs && node test/with-timeout.mjs 420 npx tsx test/test-supervisor-lock.mjs && node test/with-timeout.mjs 420 node test/test-supervisor-restart.mjs && node test/with-timeout.mjs 420 npx tsx test/test-clear-detection.mjs && node test/with-timeout.mjs 420 npx tsx test/test-compact-detect.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-consolidation.mjs && node test/with-timeout.mjs 420 npx tsx test/test-inbox-store.mjs && node test/with-timeout.mjs 420 npx tsx test/test-inbox.mjs && npx tsx test/test-inbox-xml-escaping.mjs && node test/with-timeout.mjs 420 npx tsx test/test-inbox-cross-machine.mjs && node test/with-timeout.mjs 420 npx tsx test/test-issue-store.mjs && node test/with-timeout.mjs 420 npx tsx test/test-issue-store-lock.mjs && node test/with-timeout.mjs 420 npx tsx test/test-issue-close-gate.mjs && node test/with-timeout.mjs 420 npx tsx test/test-loop-verify.mjs && npx tsx test/test-loop-verify-error-guards.mjs && node test/with-timeout.mjs 420 npx tsx test/test-restore-decision.mjs && node test/with-timeout.mjs 420 npx tsx test/test-issue-rpc.mjs && npx tsx test/test-verify-gate-async.mjs && npx tsx test/test-process-env-redaction.mjs && npx tsx test/test-provisioner-pin-published.mjs && npx tsx test/test-pinned-nono.mjs && npx tsx test/test-nono-install-executability.mjs && node test/with-timeout.mjs 420 npx tsx test/test-issue-pause.mjs && node test/with-timeout.mjs 420 npx tsx test/test-workflow-store.mjs && node test/with-timeout.mjs 420 npx tsx test/test-workflow-rpc.mjs && node test/with-timeout.mjs 420 npx tsx test/test-workflow-scheduler.mjs && node test/with-timeout.mjs 420 npx tsx test/test-cron.mjs && node test/with-timeout.mjs 420 npx tsx test/test-workflow-runs.mjs && node test/with-timeout.mjs 420 npx tsx test/test-workflow-runs-lock.mjs && node test/with-timeout.mjs 420 npx tsx test/test-workflow-idle.mjs && node test/with-timeout.mjs 420 npx tsx test/test-workflow-reconcile.mjs && npx tsx test/test-workflow-reconcile-grace.mjs && node test/with-timeout.mjs 420 npx tsx test/test-serve-link-subdomain.mjs &&node test/with-timeout.mjs 420 npx tsx test/test-frpc-footprint.mjs && npx tsx test/test-serve-regenerate-url.mjs && node test/with-timeout.mjs 420 npx tsx test/test-short-id.mjs && node test/with-timeout.mjs 420 npx tsx test/test-transcript-edit.mjs && node test/with-timeout.mjs 420 npx tsx test/test-edit-history.mjs && node test/with-timeout.mjs 420 npx tsx test/test-friendly-name.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-rpc-dispatch.mjs && node test/with-timeout.mjs 420 npx tsx test/test-nightly-1615-1630.mjs && node test/with-timeout.mjs 420 npx tsx test/test-sandbox-cli.mjs && node test/with-timeout.mjs 420 npx tsx test/test-serve-manager.mjs && node test/with-timeout.mjs 420 npx tsx test/test-serve-listen-failure.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-files-gateway.mjs && node test/with-timeout.mjs 420 npx tsx test/test-serve-ws-upgrade.mjs && node test/with-timeout.mjs 420 npx tsx test/test-serve-auth.mjs && node test/with-timeout.mjs 420 npx tsx test/test-static-file-server.mjs && node test/with-timeout.mjs 420 npx tsx test/test-serve-stability.mjs && node test/with-timeout.mjs 420 npx tsx test/test-frpc-e2e.mjs --unit-only && node test/with-timeout.mjs 420 npx tsx test/test-frpc-status.mjs && node test/with-timeout.mjs 420 npx tsx test/test-frpc-orphan-reap.mjs && node test/with-timeout.mjs 420 node test/pinnedClaudeCode.test.mjs && node test/with-timeout.mjs 420 npx tsx test/test-claude-version-recheck.mjs && node test/with-timeout.mjs 420 node test/fleet.test.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-file.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channel-rpc.mjs && node test/with-timeout.mjs 420 npx tsx test/test-wise-agent.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channel-agent.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channels-service.mjs && node test/with-timeout.mjs 420 npx tsx test/test-hotreload-seam.mjs && node test/with-timeout.mjs 420 npx tsx test/test-hot-reload.mjs && node test/with-timeout.mjs 420 npx tsx test/test-hot-reload-live.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-core.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channel-async-reply.mjs && node test/with-timeout.mjs 420 npx tsx test/test-outbox-reload.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channel-binding.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channel-store-lock.mjs && npx tsx test/test-channel-lost-update.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channel-identity.mjs && node test/with-timeout.mjs 420 npx tsx test/test-stateless-dispatch-limiter.mjs && node test/with-timeout.mjs 420 npx tsx test/test-shared-session-identity.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-authz-boundaries.mjs && node test/with-timeout.mjs 420 npx tsx test/test-wise-agent-auth.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channel-http.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channel-upload.mjs && node test/with-timeout.mjs 420 npx tsx test/test-channel-file-access.mjs && node test/with-timeout.mjs 420 npx tsx test/test-wise-voice.mjs && node test/with-timeout.mjs 420 npx tsx test/test-wise-headless.mjs && node test/with-timeout.mjs 420 npx tsx test/test-wise-machine.mjs && node test/with-timeout.mjs 420 npx tsx test/test-crew-merge.mjs && node test/with-timeout.mjs 420 npx tsx test/test-crew-merge-closes-issue.mjs && node test/with-timeout.mjs 420 npx tsx test/test-crew-verdict-routing.mjs && node test/with-timeout.mjs 420 npx tsx test/test-crew-standalone.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-links.mjs && node test/with-timeout.mjs 420 npx tsx test/test-issue-loop-pause-guard.mjs && node test/with-timeout.mjs 420 npx tsx test/test-artifact-guard.mjs && node test/with-timeout.mjs 420 npx tsx test/test-artifact-sync-pagination.mjs && node test/with-timeout.mjs 420 npx tsx test/test-graceful-restart.mjs && node test/with-timeout.mjs 420 npx tsx test/test-flush-exit.mjs && node test/with-timeout.mjs 420 npx tsx test/test-codex-skills.mjs && node test/with-timeout.mjs 420 npx tsx test/test-nightly-0807-fixes.mjs && node test/with-timeout.mjs 420 npx tsx test/test-nightly-0814-fixes.mjs && node test/with-timeout.mjs 420 npx tsx test/test-log-prune.mjs && node test/with-timeout.mjs 420 node test/test-message-count-cache.mjs && node test/with-timeout.mjs 420 node test/test-serve-link-gate.mjs && node test/with-timeout.mjs 420 node test/test-security-context-unenforceable.mjs && node test/with-timeout.mjs 420 npx tsx test/test-issue-id-resolution.mjs && node test/with-timeout.mjs 420 npx tsx test/test-issue-positional.mjs && npx tsx test/test-issue-status-validation.mjs && npx tsx test/test-issue-triage-reopen-guard.mjs && npx tsx test/test-process-positional.mjs && npx tsx test/test-crew-root-and-max.mjs && npx tsx test/test-channel-sse-close.mjs && node test/with-timeout.mjs 420 npx tsx test/test-help-flag-never-acts.mjs && node test/with-timeout.mjs 420 npx tsx test/test-with-timeout.mjs && node test/with-timeout.mjs 420 npx tsx test/test-message-queue-cap.mjs && node test/with-timeout.mjs 420 npx tsx test/test-compaction-backstop.mjs && tsx test/test-launchpad-reconcile.mjs && tsx test/test-file-lock-failopen.mjs && node test/with-timeout.mjs 420 npx tsx test/test-log-format.mjs && npx tsx test/test-deploy-manifests.mjs && npx tsx test/test-kimi-default-model-1169.mjs && npx tsx test/test-loop-dormant-runtime-1170.mjs && npx tsx test/test-skill-install-atomic.mjs && node test/test-version-unpublished.mjs && node test/test-pin-holds.mjs && node test/test-hypha-token-renewal.mjs && node test/with-timeout.mjs 420 npx tsx test/test-boot-status.mjs && node test/with-timeout.mjs 420 npx tsx test/test-stream-log-policy.mjs && node test/with-timeout.mjs 420 npx tsx test/test-count-file-lines.mjs && node test/with-timeout.mjs 420 npx tsx test/test-read-jsonl-lines.mjs && node test/with-timeout.mjs 420 npx tsx test/test-messages-reverse-pager.mjs && node test/with-timeout.mjs 420 npx tsx test/test-spawn-index-scans.mjs && node test/with-timeout.mjs 420 npx tsx test/test-session-cwd-containment.mjs && node test/with-timeout.mjs 420 npx tsx test/test-register-listener.mjs && node test/with-timeout.mjs 420 npx tsx test/test-unreachable-machines.mjs",
|
|
23
|
+
"test:hypha": "node --no-warnings test/test-hypha-service.mjs",
|
|
24
|
+
dev: "tsx src/cli.ts",
|
|
25
|
+
"dev:daemon": "tsx src/cli.ts daemon start-sync",
|
|
26
|
+
"test:e2e": "node --no-warnings test/e2e-session-tests.mjs && npx tsx test/e2e-codex-midturn-steer.mjs && npx tsx test/e2e-serve-iframe-login.mjs && npx tsx test/test-archive-preserves-claude-file.mjs && npx tsx test/test-daemon-e2e.mjs && npx tsx test/test-hypha-service.mjs && npx tsx test/test-permission-e2e.mjs && npx tsx test/test-serve-e2e.mjs && npx tsx test/test-session-archive-resume.mjs && npx tsx test/test-session-rpc-e2e.mjs && npx tsx test/test-skills-integration.mjs && npx tsx test/test-wm-refresh.mjs && npx tsx test/e2e-session-files-gateway.mjs && npx tsx test/e2e-dns-production-hosts.mjs && npx tsx test/e2e-cluster-manifest-drift.mjs && node test/with-timeout.mjs 600 npx tsx test/test-rev-lock-contention.mjs && npx tsx test/test-embed-headers.mjs && bash tests/test-sandbox-isolation.sh && bash tests/test-credential-staging.sh && bash tests/test-claude-sandbox-e2e.sh",
|
|
27
|
+
"test:frpc": "npx tsx test/test-frpc-e2e.mjs",
|
|
28
|
+
prepublishOnly: "node ../../scripts/bump-cli-version.mjs --check && yarn build && yarn test"
|
|
29
|
+
};
|
|
30
|
+
var dependencies = {
|
|
31
|
+
"@agentclientprotocol/sdk": "^0.14.1",
|
|
32
|
+
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
33
|
+
"hypha-rpc": "0.21.46",
|
|
34
|
+
"node-pty": "1.2.0-beta.11",
|
|
35
|
+
ws: "^8.18.0",
|
|
36
|
+
yaml: "^2.8.2",
|
|
37
|
+
zod: "^3.24.4"
|
|
38
|
+
};
|
|
39
|
+
var devDependencies = {
|
|
40
|
+
"@types/node": ">=20",
|
|
41
|
+
"@types/ws": "^8.5.14",
|
|
42
|
+
pkgroll: "^2.14.2",
|
|
43
|
+
tsx: "^4.20.6",
|
|
44
|
+
typescript: "5.9.3"
|
|
45
|
+
};
|
|
46
|
+
var packageManager = "yarn@1.22.22";
|
|
47
|
+
var _package = {
|
|
48
|
+
name: name,
|
|
49
|
+
version: version,
|
|
50
|
+
description: description,
|
|
51
|
+
author: author,
|
|
52
|
+
license: license,
|
|
53
|
+
type: type,
|
|
54
|
+
bin: bin,
|
|
55
|
+
files: files,
|
|
56
|
+
main: main,
|
|
57
|
+
exports: exports$1,
|
|
58
|
+
scripts: scripts,
|
|
59
|
+
dependencies: dependencies,
|
|
60
|
+
devDependencies: devDependencies,
|
|
61
|
+
packageManager: packageManager
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export { author, bin, _package as default, dependencies, description, devDependencies, exports$1 as exports, files, license, main, name, packageManager, scripts, type, version };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const PINNED_CODEX_VERSION = "0.149.0";
|
|
2
|
+
const MIN_CODEX_STEER_VERSION = { major: 0, minor: 129, patch: 0 };
|
|
3
|
+
function cmpVer(a, b) {
|
|
4
|
+
return a.major - b.major || a.minor - b.minor || a.patch - b.patch;
|
|
5
|
+
}
|
|
6
|
+
function codexSupportsSteer(v) {
|
|
7
|
+
if (!v) return false;
|
|
8
|
+
return cmpVer(v, MIN_CODEX_STEER_VERSION) >= 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { PINNED_CODEX_VERSION as P, codexSupportsSteer as c };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const PINNED_NONO_VERSION = "0.74.0";
|
|
2
|
+
const NONO_REPO = "nolabs-ai/nono";
|
|
3
|
+
const NONO_CHECKSUM_ASSET = "SHA256SUMS.txt";
|
|
4
|
+
function nonoAssetUrl(version, assetName) {
|
|
5
|
+
return `https://github.com/${NONO_REPO}/releases/download/v${version}/${assetName}`;
|
|
6
|
+
}
|
|
7
|
+
function expectedSha256(manifest, assetName) {
|
|
8
|
+
for (const line of manifest.split("\n")) {
|
|
9
|
+
const m = line.match(/^([0-9a-fA-F]{64})\s+\*?(.+?)\s*$/);
|
|
10
|
+
if (m && m[2] === assetName) return m[1].toLowerCase();
|
|
11
|
+
}
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { NONO_CHECKSUM_ASSET as N, PINNED_NONO_VERSION as P, expectedSha256 as e, nonoAssetUrl as n };
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as resolveProjectRoot } from './store-B4E6NzG6.mjs';
|
|
2
|
+
import { g as getWorkflow, s as setWorkflowEnabled, r as removeWorkflow, v as validateWorkflowName, a as saveWorkflow, b as rawWorkflow, l as listWorkflows } from './store-fi0f-ff1.mjs';
|
|
3
|
+
import { g as getRun, l as listRuns, r as runWorkflow } from './run-DDmeV9K3.mjs';
|
|
4
|
+
import { v as validateCronExpr } from './cron-hHGdb5kU.mjs';
|
|
5
|
+
import 'node:fs';
|
|
6
|
+
import 'node:path';
|
|
7
|
+
import 'node:crypto';
|
|
8
|
+
import 'node:child_process';
|
|
9
|
+
import './fileLock-BMPwCrB6.mjs';
|
|
10
|
+
import 'yaml';
|
|
2
11
|
import 'os';
|
|
3
12
|
import 'fs/promises';
|
|
4
13
|
import 'fs';
|
|
@@ -6,20 +15,43 @@ import 'path';
|
|
|
6
15
|
import 'url';
|
|
7
16
|
import 'child_process';
|
|
8
17
|
import 'crypto';
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
18
|
+
import './hookSettings-FFc1pi8j.mjs';
|
|
19
|
+
import './types-57J3Re0n.mjs';
|
|
20
|
+
import './securityContext-Cm5UTCuD.mjs';
|
|
21
|
+
import './machineTools-DygM1jXW.mjs';
|
|
22
|
+
import './model-CUHojegn.mjs';
|
|
13
23
|
import 'util';
|
|
14
24
|
import 'http';
|
|
15
25
|
import 'net';
|
|
26
|
+
import './instance-CeHz5C8v.mjs';
|
|
27
|
+
import './serveAuth-4M0vwMyj.mjs';
|
|
16
28
|
import 'node:os';
|
|
29
|
+
import './envFlag-COOuJ3AH.mjs';
|
|
30
|
+
import './claudeAuth-C0wc1GTM.mjs';
|
|
31
|
+
import './codexProvider-BtxYc5Rj.mjs';
|
|
32
|
+
import './friendlyName-1UZcyDhu.mjs';
|
|
17
33
|
import 'node:events';
|
|
34
|
+
import './hyphaClient-ybivOjZo.mjs';
|
|
35
|
+
import './sharingNotificationSync-qGIQ-3yf.mjs';
|
|
36
|
+
import './acpBackend-UaBD4zL3.mjs';
|
|
18
37
|
import '@agentclientprotocol/sdk';
|
|
38
|
+
import './DefaultTransport-vfp78fug.mjs';
|
|
39
|
+
import './wrapCommand-CdNawSaa.mjs';
|
|
40
|
+
import './acpAgentConfig-CObOPlA8.mjs';
|
|
41
|
+
import './codexAppServerBackend-VGsYtbqg.mjs';
|
|
19
42
|
import 'node:util';
|
|
20
43
|
import 'node:readline';
|
|
44
|
+
import './pinnedCodex-XW4qvOAe.mjs';
|
|
45
|
+
import './GeminiTransport-3OkhtFRO.mjs';
|
|
46
|
+
import './KimiTransport-D8n009Tr.mjs';
|
|
47
|
+
import './kimiProvider-DbxODebR.mjs';
|
|
48
|
+
import './kimiSetup-NGsoYB5h.mjs';
|
|
49
|
+
import './detectIsolation-CrV8IFDv.mjs';
|
|
21
50
|
import 'node:fs/promises';
|
|
22
|
-
import '
|
|
51
|
+
import './pinnedNono-5ZHb6328.mjs';
|
|
52
|
+
import './bootStatus-DqtNgJch.mjs';
|
|
53
|
+
import './loopVerify-DALtTk2V.mjs';
|
|
54
|
+
import './api-BHjyC0Ph.mjs';
|
|
23
55
|
|
|
24
56
|
async function workflowRpc(cwd, params) {
|
|
25
57
|
const root = resolveProjectRoot(cwd || process.cwd());
|
|
@@ -1,25 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import 'os';
|
|
3
|
-
import 'fs/promises';
|
|
4
|
-
import 'fs';
|
|
5
|
-
import 'path';
|
|
6
|
-
import 'url';
|
|
7
|
-
import 'child_process';
|
|
8
|
-
import 'crypto';
|
|
1
|
+
import { r as resolveProjectRoot, a as applyTriageStatus, u as updateIssue, p as parseScopeArg, I as ISSUE_SCOPES, g as getIssue, c as checkVerifyCommandAsync, b as parseStatusArg, d as ISSUE_STATUSES, e as resumeIssue, f as pauseIssue, h as addComment, i as addIssue, l as listIssues, j as isPendingIssue, s as searchIssues, k as isVisibleTo } from './store-B4E6NzG6.mjs';
|
|
9
2
|
import 'node:fs';
|
|
10
3
|
import 'node:path';
|
|
11
4
|
import 'node:crypto';
|
|
12
5
|
import 'node:child_process';
|
|
13
|
-
import '
|
|
14
|
-
import 'http';
|
|
15
|
-
import 'net';
|
|
16
|
-
import 'node:os';
|
|
17
|
-
import 'node:events';
|
|
18
|
-
import '@agentclientprotocol/sdk';
|
|
19
|
-
import 'node:util';
|
|
20
|
-
import 'node:readline';
|
|
21
|
-
import 'node:fs/promises';
|
|
22
|
-
import 'yaml';
|
|
6
|
+
import './fileLock-BMPwCrB6.mjs';
|
|
23
7
|
|
|
24
8
|
function followUpCount(body) {
|
|
25
9
|
if (!body) return 0;
|
|
@@ -82,7 +66,8 @@ async function issueRpc(cwd, params, deps = {}) {
|
|
|
82
66
|
}
|
|
83
67
|
case "add": {
|
|
84
68
|
const owner = params.session || null;
|
|
85
|
-
const scope = params.scope
|
|
69
|
+
const scope = params.scope == null ? owner ? "session" : "project" : parseScopeArg(params.scope);
|
|
70
|
+
if (!scope) throw new Error(`issue add: invalid --scope "${String(params.scope)}" (expected one of: ${ISSUE_SCOPES.join(", ")})`);
|
|
86
71
|
let title = params.title ? String(params.title) : "";
|
|
87
72
|
let body = params.body ? String(params.body) : void 0;
|
|
88
73
|
let original;
|
|
@@ -174,11 +159,35 @@ ${res.output || ""}
|
|
|
174
159
|
if (Array.isArray(params.labels)) patch.labels = params.labels.map(String);
|
|
175
160
|
const v = buildVerify(params);
|
|
176
161
|
if (v !== void 0) patch.verify = v;
|
|
177
|
-
if (params.scope)
|
|
162
|
+
if (params.scope) {
|
|
163
|
+
const nextScope = parseScopeArg(params.scope);
|
|
164
|
+
if (!nextScope) throw new Error(`Invalid scope "${params.scope}". Must be one of: ${ISSUE_SCOPES.join(", ")}.`);
|
|
165
|
+
patch.scope = nextScope;
|
|
166
|
+
}
|
|
178
167
|
if (params.unclaim) patch.session = null;
|
|
179
168
|
else if (params.session != null) patch.session = String(params.session);
|
|
180
169
|
if (params.body != null) patch.body = String(params.body);
|
|
181
|
-
if (params.status)
|
|
170
|
+
if (params.status) {
|
|
171
|
+
if (params.status === "archived" && !params.force) {
|
|
172
|
+
const cur = getIssue(root, String(params.id));
|
|
173
|
+
if (cur && cur.status !== "archived") {
|
|
174
|
+
const res = await checkVerifyCommandAsync(root, cur);
|
|
175
|
+
if (!res.ok) {
|
|
176
|
+
throw new Error(
|
|
177
|
+
`Refusing to archive #${params.id} via edit: its verify-cmd failed \u2014 the fix is not verified.
|
|
178
|
+
$ ${res.cmd}
|
|
179
|
+
${res.output || ""}
|
|
180
|
+
(Use the 'archive' op for an obsolete/duplicate item, or pass force to override.)`
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
const nextStatus = parseStatusArg(params.status);
|
|
186
|
+
if (!nextStatus) {
|
|
187
|
+
throw new Error(`Invalid status "${params.status}". Must be one of: ${ISSUE_STATUSES.join(", ")}.`);
|
|
188
|
+
}
|
|
189
|
+
patch.status = nextStatus;
|
|
190
|
+
}
|
|
182
191
|
if (params.disposition) patch.disposition = params.disposition === "crew" ? "crew" : "inline";
|
|
183
192
|
if (params.triaged) patch.triaged = true;
|
|
184
193
|
const updated = updateIssue(root, String(params.id), patch);
|
|
@@ -193,7 +202,9 @@ ${res.output || ""}
|
|
|
193
202
|
const v = buildVerify(params);
|
|
194
203
|
if (v) patch.verify = v;
|
|
195
204
|
if (params.body != null) patch.body = String(params.body);
|
|
196
|
-
|
|
205
|
+
applyTriageStatus(root, String(params.id), patch, (m) => {
|
|
206
|
+
throw new Error(m);
|
|
207
|
+
});
|
|
197
208
|
const updated = updateIssue(root, String(params.id), patch);
|
|
198
209
|
if (!updated) throw new Error(`Issue not found: ${params.id}`);
|
|
199
210
|
return updated;
|
|
@@ -1,26 +1,34 @@
|
|
|
1
|
-
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import {
|
|
1
|
+
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import { a as composeSessionId, g as generateFriendlyName } from './friendlyName-1UZcyDhu.mjs';
|
|
2
2
|
import os from 'node:os';
|
|
3
3
|
import { resolve, join } from 'node:path';
|
|
4
4
|
import { existsSync, readFileSync, watch } from 'node:fs';
|
|
5
|
+
import { c as connectToHypha } from './hyphaClient-ybivOjZo.mjs';
|
|
6
|
+
import { c as createSessionStore, r as registerMachineService, g as generateHookSettings } from './hookSettings-FFc1pi8j.mjs';
|
|
5
7
|
import { createServer } from 'node:http';
|
|
6
8
|
import { spawn } from 'node:child_process';
|
|
9
|
+
import { applyClaudeProxyEnv } from './claudeAuth-C0wc1GTM.mjs';
|
|
7
10
|
import { createInterface } from 'node:readline';
|
|
8
|
-
import '
|
|
9
|
-
import 'fs/promises';
|
|
11
|
+
import 'node:crypto';
|
|
10
12
|
import 'fs';
|
|
11
13
|
import 'path';
|
|
12
|
-
import '
|
|
14
|
+
import './types-57J3Re0n.mjs';
|
|
15
|
+
import './securityContext-Cm5UTCuD.mjs';
|
|
16
|
+
import './machineTools-DygM1jXW.mjs';
|
|
17
|
+
import './model-CUHojegn.mjs';
|
|
13
18
|
import 'child_process';
|
|
19
|
+
import 'fs/promises';
|
|
14
20
|
import 'crypto';
|
|
15
|
-
import 'node:crypto';
|
|
16
21
|
import 'util';
|
|
17
22
|
import 'http';
|
|
18
23
|
import 'net';
|
|
24
|
+
import 'os';
|
|
25
|
+
import './instance-CeHz5C8v.mjs';
|
|
26
|
+
import './serveAuth-4M0vwMyj.mjs';
|
|
27
|
+
import './envFlag-COOuJ3AH.mjs';
|
|
28
|
+
import './codexProvider-BtxYc5Rj.mjs';
|
|
29
|
+
import './fileLock-BMPwCrB6.mjs';
|
|
19
30
|
import 'node:events';
|
|
20
|
-
import '
|
|
21
|
-
import 'node:util';
|
|
22
|
-
import 'node:fs/promises';
|
|
23
|
-
import 'yaml';
|
|
31
|
+
import './cron-hHGdb5kU.mjs';
|
|
24
32
|
|
|
25
33
|
async function startHookServer(onSessionHook, log) {
|
|
26
34
|
return new Promise((resolve, reject) => {
|