{"_id":"@build-it-now/binctl-shell-dsl-plugin","_rev":"9-4358ba86b0778416804a7b3270d45075","name":"@build-it-now/binctl-shell-dsl-plugin","dist-tags":{"latest":"0.1.7"},"versions":{"0.0.1":{"name":"@build-it-now/binctl-shell-dsl-plugin","version":"0.0.1","keywords":["oidc","trusted-publishing","setup"],"_id":"@build-it-now/binctl-shell-dsl-plugin@0.0.1","maintainers":[{"name":"ricsam","email":"oss@ricsam.dev"}],"dist":{"shasum":"b8da71a8668f6a841d58d14a8ed674ce6d3b50e2","tarball":"https://registry.npmjs.org/@build-it-now/binctl-shell-dsl-plugin/-/binctl-shell-dsl-plugin-0.0.1.tgz","fileCount":2,"integrity":"sha512-F1sK9vqWAaIC05lHvupM5KgGLdtA/rde6gGcNUFulmElmdYIAPL6EigxpRAeKYi0HcO439eBIOskH2vOa1r1ww==","signatures":[{"sig":"MEUCIER3/Nt2iUQUrBlpuZOUx1ur3OEo1Rm+bs74y8oPFWcKAiEAob5Wikyc1Z1Km6ftgiJujCU9xdT1X8XwO2Fkh+pzcrY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2111},"_npmUser":{"name":"ricsam","email":"oss@ricsam.dev"},"_npmVersion":"11.6.2","description":"OIDC trusted publishing setup package for @build-it-now/binctl-shell-dsl-plugin","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/binctl-shell-dsl-plugin_0.0.1_1773333925952_0.16737980929133323","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@build-it-now/binctl-shell-dsl-plugin","version":"0.1.0","_id":"@build-it-now/binctl-shell-dsl-plugin@0.1.0","maintainers":[{"name":"ricsam","email":"oss@ricsam.dev"}],"dist":{"shasum":"ed833a2f0b021652c2ea8a6eed817e1e097e2c79","tarball":"https://registry.npmjs.org/@build-it-now/binctl-shell-dsl-plugin/-/binctl-shell-dsl-plugin-0.1.0.tgz","fileCount":5,"integrity":"sha512-vFB+zEjhgahEM/2hiPvo4fCtWhaG4H6VnC7Htap754elLfLUKzaCjERdRbM68Lis8vbJV0EcN71cHKq6PSQwOw==","signatures":[{"sig":"MEUCIDBmYKB9UTVhMLDdLmQgo1xN84ZbIiS0rhDzkuXfXcsRAiEAiqi9RAi+KPZh88VUyq4M4ZfDMjOjpoXoNg//nSs+hB4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19741},"main":"./dist/cjs/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b61c6cd0-20bd-4062-b75a-2d32360a71bb"}},"_npmVersion":"11.9.0","description":"Shell-DSL command plugin for `binctl`, built on top of `@build-it-now/binctl-api`.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"shell-dsl":"^0.0.27","@build-it-now/binctl-api":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/binctl-shell-dsl-plugin_0.1.0_1773335958896_0.15814726671151358","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@build-it-now/binctl-shell-dsl-plugin","version":"0.1.1","_id":"@build-it-now/binctl-shell-dsl-plugin@0.1.1","maintainers":[{"name":"ricsam","email":"oss@ricsam.dev"}],"dist":{"shasum":"72f12e561af60a2deee268737ccc05d0a4d6ef07","tarball":"https://registry.npmjs.org/@build-it-now/binctl-shell-dsl-plugin/-/binctl-shell-dsl-plugin-0.1.1.tgz","fileCount":5,"integrity":"sha512-E355flVKGPANevFQ9yBJgow1WSkb/o+CYPw4QiqrPt1io14l7yPoKeoiDigTbQ6ZcBwMYBvoSJ4t21j41drK0w==","signatures":[{"sig":"MEYCIQDllAyDmzH6N9zT3rizP90EywfLZiJmqLE0x0gUIqJRyQIhAIOj/K+bSS0ExArZ6ZIdMPw7VThZp4SEQP5bks7Ndurs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19741},"main":"./dist/cjs/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b61c6cd0-20bd-4062-b75a-2d32360a71bb"}},"_npmVersion":"11.9.0","description":"Shell-DSL command plugin for `binctl`, built on top of `@build-it-now/binctl-api`.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"shell-dsl":"^0.0.27","@build-it-now/binctl-api":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/binctl-shell-dsl-plugin_0.1.1_1773355325084_0.5710494865117017","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@build-it-now/binctl-shell-dsl-plugin","version":"0.1.2","_id":"@build-it-now/binctl-shell-dsl-plugin@0.1.2","maintainers":[{"name":"ricsam","email":"oss@ricsam.dev"}],"dist":{"shasum":"abe14fd3dd2525e556c0192130f8ff971b5609c1","tarball":"https://registry.npmjs.org/@build-it-now/binctl-shell-dsl-plugin/-/binctl-shell-dsl-plugin-0.1.2.tgz","fileCount":7,"integrity":"sha512-NMu0UNJDMl+J07Q0GUNN23SaUZZUANPLAzAAQDeoi2L5Si9LPv3x3JnsxxKHFIOR7ep7PejB/8s9FSQsxr9Bcw==","signatures":[{"sig":"MEUCIQCe0SOzSFSWixIfQ1OaMuF0MeMOLt1b4bHv7TC39bsxJgIgDUN6GtZe/rT8H70AaCgX0CNaK1nTldhEJjLEZ2GAcy4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19937},"main":"./dist/cjs/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/mjs/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/mjs/index.mjs","require":"./dist/cjs/index.cjs"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b61c6cd0-20bd-4062-b75a-2d32360a71bb"}},"_npmVersion":"11.9.0","description":"Shell-DSL command plugin for `binctl`, built on top of `@build-it-now/binctl-api`.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"shell-dsl":"^0.0.27","@build-it-now/binctl-api":"^0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/binctl-shell-dsl-plugin_0.1.2_1773355543324_0.3006539082486228","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@build-it-now/binctl-shell-dsl-plugin","version":"0.1.3","_id":"@build-it-now/binctl-shell-dsl-plugin@0.1.3","maintainers":[{"name":"ricsam","email":"oss@ricsam.dev"}],"dist":{"shasum":"886a11f178402ac0e921c716a0a81173e79cf15e","tarball":"https://registry.npmjs.org/@build-it-now/binctl-shell-dsl-plugin/-/binctl-shell-dsl-plugin-0.1.3.tgz","fileCount":7,"integrity":"sha512-bX1dvRsYODNaozO9zg6XOGWrXxxGStzKXUPjlIL4UoPdRtbHOinitAmcNt+ziBUssWQXqiPI614CHf2e2308qg==","signatures":[{"sig":"MEUCIHvabMvkBFpvh2wpENiRF5HtsB0j+brHKw7B9h/cG68cAiEAziLUleTgJR6TFeAXAaSe+m++4ZBoBcZdxYm83jUYZuI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57809},"main":"./dist/cjs/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/mjs/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/mjs/index.mjs","require":"./dist/cjs/index.cjs"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b61c6cd0-20bd-4062-b75a-2d32360a71bb"}},"_npmVersion":"11.9.0","description":"Shell-DSL command plugin for `binctl`, built on top of `@build-it-now/binctl-api`.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"shell-dsl":"^0.0.27","@build-it-now/binctl-api":"^0.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/binctl-shell-dsl-plugin_0.1.3_1773400400954_0.47803182398951805","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@build-it-now/binctl-shell-dsl-plugin","version":"0.1.4","_id":"@build-it-now/binctl-shell-dsl-plugin@0.1.4","maintainers":[{"name":"ricsam","email":"oss@ricsam.dev"}],"dist":{"shasum":"f2d2a89c5d0d04e23d19fc597cc885bbb3e2c2bb","tarball":"https://registry.npmjs.org/@build-it-now/binctl-shell-dsl-plugin/-/binctl-shell-dsl-plugin-0.1.4.tgz","fileCount":7,"integrity":"sha512-RmPM8fmhAuXsDYKrYyHLk/49VGiWtTojxMiE1EQ+fISewukV7CE/lSWo6t5H3XqcOrqByaPyXc+OCDjyhEqFVA==","signatures":[{"sig":"MEQCIA5NaM5dfV4UxRjE/ZEIoJxS9CyzgpEj1huyeKgiqz5VAiAYl9J8Pg5gjsEFhdR7hfYy8FMSPhJifNIjBrYmbt5pgA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58338},"main":"./dist/cjs/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/mjs/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/mjs/index.mjs","require":"./dist/cjs/index.cjs"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b61c6cd0-20bd-4062-b75a-2d32360a71bb"}},"_npmVersion":"11.9.0","description":"Shell-DSL command plugin for `binctl`, built on top of `@build-it-now/binctl-api`.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"shell-dsl":"^0.0.27","@build-it-now/binctl-api":"^0.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/binctl-shell-dsl-plugin_0.1.4_1773406378141_0.09709770326446243","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@build-it-now/binctl-shell-dsl-plugin","version":"0.1.5","_id":"@build-it-now/binctl-shell-dsl-plugin@0.1.5","maintainers":[{"name":"ricsam","email":"oss@ricsam.dev"}],"dist":{"shasum":"7cf032e53d42feab694544cd6a83999cc6425a38","tarball":"https://registry.npmjs.org/@build-it-now/binctl-shell-dsl-plugin/-/binctl-shell-dsl-plugin-0.1.5.tgz","fileCount":7,"integrity":"sha512-+kR/jY6/kD1ZbuAuoy6SC3YWyRhMff/A0zEisNiSgeaKbyFfdMyLnm+TnEzlaJ7Jlw6rgjvvhtAKarbVkyqvjA==","signatures":[{"sig":"MEUCIQDvbBnWCG2DeC0UelJdyzNZEo1/7+ESiOgT85AcMtlULgIgfViSPxA3PX16eq8uDStMv7zBy7NQAvHWftgtEb9KpCE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68020},"main":"./dist/cjs/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/mjs/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/mjs/index.mjs","require":"./dist/cjs/index.cjs"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b61c6cd0-20bd-4062-b75a-2d32360a71bb"}},"_npmVersion":"11.9.0","description":"Shell-DSL command plugin for `binctl`, built on top of `@build-it-now/binctl-api`.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"shell-dsl":"^0.0.27","@build-it-now/binctl-api":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/binctl-shell-dsl-plugin_0.1.5_1773408357843_0.6474768863019558","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@build-it-now/binctl-shell-dsl-plugin","version":"0.1.6","_id":"@build-it-now/binctl-shell-dsl-plugin@0.1.6","maintainers":[{"name":"ricsam","email":"oss@ricsam.dev"}],"dist":{"shasum":"e0123aea8db57a47b1cacbc87087a72721e32d7a","tarball":"https://registry.npmjs.org/@build-it-now/binctl-shell-dsl-plugin/-/binctl-shell-dsl-plugin-0.1.6.tgz","fileCount":7,"integrity":"sha512-mu9L7AFopkBsRktW5HseyAQCrUDhkb2013xOc6/2hwAv007KsrWZ6fI5v5HA8ZpSlw4O++qTRBzLQ58WHo8h6A==","signatures":[{"sig":"MEQCIEgpy+tB0r1J9VHo+38QG9+r9PyhS6iYXRrD18EWgTurAiBX7XfN7HyctvhP2UXREOfMI0fWMy5/mcfXROG0A8r4Aw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68074},"main":"./dist/cjs/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/mjs/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/mjs/index.mjs","require":"./dist/cjs/index.cjs"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b61c6cd0-20bd-4062-b75a-2d32360a71bb"}},"_npmVersion":"11.9.0","description":"Shell-DSL command plugin for `binctl`, built on top of `@build-it-now/binctl-api`.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"shell-dsl":"^0.0.27","@build-it-now/binctl-api":"^0.1.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/binctl-shell-dsl-plugin_0.1.6_1773412333796_0.1499811825789923","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@build-it-now/binctl-shell-dsl-plugin","version":"0.1.7","type":"module","main":"./dist/cjs/index.cjs","module":"./dist/mjs/index.mjs","types":"./dist/types/index.d.ts","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/mjs/index.mjs","require":"./dist/cjs/index.cjs"}},"dependencies":{"@build-it-now/binctl-api":"^0.1.7","shell-dsl":"^0.0.27"},"publishConfig":{"access":"public"},"engines":{"node":">=18"},"sideEffects":false,"_id":"@build-it-now/binctl-shell-dsl-plugin@0.1.7","description":"Shell-DSL command plugin for `binctl`, built on top of `@build-it-now/binctl-api`.","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-8W4LGAdQlyPpG/9FT0kBSo/SjqJl9NtV+EWf+ysesXx83HRLhQ7pRvlanJvkkWTrqdURoru/9v54gIQmwsQLyA==","shasum":"46baca131dfd0f16d43c7dcaf21e560d118f166f","tarball":"https://registry.npmjs.org/@build-it-now/binctl-shell-dsl-plugin/-/binctl-shell-dsl-plugin-0.1.7.tgz","fileCount":7,"unpackedSize":183607,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGFiGH8jKZK5WaeNZtcPU73hjm6567WRooON1av4NFxuAiEAhdfq1XUEEYKFEGxP7iDReLVyXoIifzz9O1YBmESK5MQ="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b61c6cd0-20bd-4062-b75a-2d32360a71bb"}},"directories":{},"maintainers":[{"name":"ricsam","email":"oss@ricsam.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/binctl-shell-dsl-plugin_0.1.7_1778245700300_0.6169875080360845"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-12T16:45:25.838Z","modified":"2026-05-08T13:08:20.607Z","0.0.1":"2026-03-12T16:45:26.110Z","0.1.0":"2026-03-12T17:19:19.117Z","0.1.1":"2026-03-12T22:42:05.225Z","0.1.2":"2026-03-12T22:45:43.475Z","0.1.3":"2026-03-13T11:13:21.119Z","0.1.4":"2026-03-13T12:52:58.359Z","0.1.5":"2026-03-13T13:25:58.088Z","0.1.6":"2026-03-13T14:32:13.970Z","0.1.7":"2026-05-08T13:08:20.442Z"},"description":"Shell-DSL command plugin for `binctl`, built on top of `@build-it-now/binctl-api`.","maintainers":[{"name":"ricsam","email":"oss@ricsam.dev"}],"readme":"# @build-it-now/binctl-shell-dsl-plugin\n\nShell-DSL command plugin for `binctl`, built on top of `@build-it-now/binctl-api`.\n\n## Installation\n\n```bash\nnpm install @build-it-now/binctl-shell-dsl-plugin @build-it-now/binctl-api shell-dsl\n```\n\n## Usage\n\n```ts\nimport { createShellSession } from \"shell-dsl\";\nimport { createBinctlShellDslPlugin, binctlShellDslCompletions } from \"@build-it-now/binctl-shell-dsl-plugin\";\nimport { BinctlClient } from \"@build-it-now/binctl-api\";\n\nconst client = new BinctlClient({\n  baseUrl: \"https://build-it.now\",\n  token: process.env.BINCTL_TOKEN,\n});\n\nconst commands = createBinctlShellDslPlugin({\n  client,\n  output: \"human\", // or \"json\"\n});\n\nconst session = createShellSession({\n  fs,\n  cwd: \"/\",\n  env: {},\n  commands,\n  completions: binctlShellDslCompletions,\n});\n```\n\n`commands` is a `Record<string, Command>` ready to mount in a Shell-DSL runtime. `binctlShellDslCompletions` can be passed to `createShellSession` for route and flag completions.\n\nThe plugin exposes exactly one top-level command, `binctl`, so Shell-DSL scripts can use natural nested invocations like:\n\n```ts\nawait sh`binctl projects list`;\nawait sh`binctl projects create --name \"Demo\"`;\nawait sh`binctl projects branches list demo-project`;\nawait sh`binctl projects sessions create demo-project feature-1 --name \"Spec\"`;\nawait sh`binctl sessions conversation session_123`;\nawait sh`binctl sessions conversation session_123 --full`;\nawait sh`binctl sessions conversation session_123 --compact`;\nawait sh`binctl --help`;\nawait sh`binctl get branches demo-project --help`;\n```\n\n## Command Map\n\nTop-level `binctl` routes include:\n\n- `binctl auth status`\n- `binctl auth logout`\n- `binctl auth api-key create <name>`\n- `binctl auth api-key list`\n- `binctl auth api-key revoke <key-id>`\n- `binctl projects list`\n- `binctl projects create [--name <name>] [--org <org-id>]`\n- `binctl projects describe <project-ref>`\n- `binctl projects update <project-ref> [--name <name>] [--mode <greenfield|prod>] [--custom-domain <domain>] [--clear-custom-domain]`\n- `binctl projects delete <project-ref>`\n- `binctl projects branches list <project-ref>`\n- `binctl projects branches describe <project-ref> <branch>`\n- `binctl projects sessions list <project-ref> [--branch <branch>]`\n- `binctl projects sessions create <project-ref> <branch> [--name <name>]`\n- `binctl projects orchestrate <project-ref> <branch> <model>`\n- `binctl sessions describe <session-id>`\n- `binctl sessions update <session-id> (--name <name> | --clear-name)`\n- `binctl sessions delete <session-id>`\n- `binctl sessions conversation <session-id> [--full] [--compact] [--tail <nodes>]`\n- `binctl sessions prompt <session-id> <mode> <model> <message>`\n- `binctl sessions answer-questions <session-id> <answer>...`\n- `binctl sessions apply-required-envs <session-id> <target/name=value>...`\n\nProject responses render `mode` as `greenfield` or `prod`, derived from the persisted `projects.backwardsCompatible` setting.\n\n## Options\n\n- `client`: preconfigured `BinctlClient` instance\n- `clientOptions`: used when `client` is omitted\n- `output`: `\"human\"` (default) or `\"json\"`\n","readmeFilename":"README.md"}