@microwiseai/snapshot 0.9.1 → 0.9.2
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/dist/build-info.json +1 -1
- package/dist/commands/install.d.ts.map +1 -1
- package/dist/commands/install.js +6 -1
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/publish.d.ts.map +1 -1
- package/dist/commands/publish.js +7 -0
- package/dist/commands/publish.js.map +1 -1
- package/dist/lib/prerequisites.d.ts.map +1 -1
- package/dist/lib/prerequisites.js +2 -1
- package/dist/lib/prerequisites.js.map +1 -1
- package/dist/lib/proxy-index-refresh.d.ts +40 -0
- package/dist/lib/proxy-index-refresh.d.ts.map +1 -0
- package/dist/lib/proxy-index-refresh.js +66 -0
- package/dist/lib/proxy-index-refresh.js.map +1 -0
- package/node_modules/@microwiseai/skit/LICENSE +21 -0
- package/node_modules/@microwiseai/skit/README.md +137 -93
- package/node_modules/@microwiseai/skit/dist/__tests__/setup/hermetic-config.d.ts +2 -0
- package/node_modules/@microwiseai/skit/dist/__tests__/setup/hermetic-config.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/commands/browse.d.ts +47 -3
- package/node_modules/@microwiseai/skit/dist/commands/browse.d.ts.map +1 -1
- package/node_modules/@microwiseai/skit/dist/commands/config.d.ts +5 -0
- package/node_modules/@microwiseai/skit/dist/commands/config.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/commands/install.d.ts +14 -2
- package/node_modules/@microwiseai/skit/dist/commands/install.d.ts.map +1 -1
- package/node_modules/@microwiseai/skit/dist/commands/orphans.d.ts +16 -0
- package/node_modules/@microwiseai/skit/dist/commands/orphans.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/commands/pack.d.ts.map +1 -1
- package/node_modules/@microwiseai/skit/dist/commands/prompt.d.ts +25 -0
- package/node_modules/@microwiseai/skit/dist/commands/prompt.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/commands/publish.d.ts.map +1 -1
- package/node_modules/@microwiseai/skit/dist/commands/uninstall.d.ts.map +1 -1
- package/node_modules/@microwiseai/skit/dist/distkit/install-directive.d.ts +48 -0
- package/node_modules/@microwiseai/skit/dist/distkit/install-directive.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/distkit/kit-executor.d.ts +46 -0
- package/node_modules/@microwiseai/skit/dist/distkit/kit-executor.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/distkit/resolve-from.d.ts +37 -0
- package/node_modules/@microwiseai/skit/dist/distkit/resolve-from.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/index.d.ts +0 -1
- package/node_modules/@microwiseai/skit/dist/index.js +52519 -68
- package/node_modules/@microwiseai/skit/dist/lib.d.ts +657 -5
- package/node_modules/@microwiseai/skit/dist/lib.d.ts.map +1 -1
- package/node_modules/@microwiseai/skit/dist/lib.js +48417 -554
- package/node_modules/@microwiseai/skit/dist/types/skit.d.ts +189 -12
- package/node_modules/@microwiseai/skit/dist/types/skit.d.ts.map +1 -1
- package/node_modules/@microwiseai/skit/dist/utils/dep-plan.d.ts +150 -0
- package/node_modules/@microwiseai/skit/dist/utils/dep-plan.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/utils/file-copy.d.ts +10 -5
- package/node_modules/@microwiseai/skit/dist/utils/file-copy.d.ts.map +1 -1
- package/node_modules/@microwiseai/skit/dist/utils/gitlab-registry.d.ts +91 -0
- package/node_modules/@microwiseai/skit/dist/utils/gitlab-registry.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/utils/installed-registry.d.ts +59 -3
- package/node_modules/@microwiseai/skit/dist/utils/installed-registry.d.ts.map +1 -1
- package/node_modules/@microwiseai/skit/dist/utils/npm-auth.d.ts +99 -0
- package/node_modules/@microwiseai/skit/dist/utils/npm-auth.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/utils/profile-permissions.d.ts +54 -0
- package/node_modules/@microwiseai/skit/dist/utils/profile-permissions.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/utils/skit-config.d.ts +41 -0
- package/node_modules/@microwiseai/skit/dist/utils/skit-config.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/dist/utils/skit-parser.d.ts +5 -0
- package/node_modules/@microwiseai/skit/dist/utils/skit-parser.d.ts.map +1 -1
- package/node_modules/@microwiseai/skit/dist/utils/temp-npmrc.d.ts +70 -0
- package/node_modules/@microwiseai/skit/dist/utils/temp-npmrc.d.ts.map +1 -0
- package/node_modules/@microwiseai/skit/package.json +40 -10
- package/package.json +2 -2
- package/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
- package/node_modules/@isaacs/fs-minipass/README.md +0 -71
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +0 -118
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +0 -1
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +0 -118
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +0 -1
- package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
- package/node_modules/@isaacs/fs-minipass/package.json +0 -72
- package/node_modules/@ist/registry-config/dist/index.d.ts +0 -3
- package/node_modules/@ist/registry-config/dist/index.js +0 -3
- package/node_modules/@ist/registry-config/dist/registry-url.d.ts +0 -1
- package/node_modules/@ist/registry-config/dist/registry-url.js +0 -1
- package/node_modules/@ist/registry-config/dist/scope-mapping.d.ts +0 -6
- package/node_modules/@ist/registry-config/dist/scope-mapping.js +0 -7
- package/node_modules/@ist/registry-config/dist/types.d.ts +0 -4
- package/node_modules/@ist/registry-config/dist/types.js +0 -1
- package/node_modules/@ist/registry-config/package.json +0 -32
- package/node_modules/@microwiseai/skit/dist/commands/browse.js +0 -127
- package/node_modules/@microwiseai/skit/dist/commands/browse.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/gitignore.js +0 -59
- package/node_modules/@microwiseai/skit/dist/commands/gitignore.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/info.js +0 -80
- package/node_modules/@microwiseai/skit/dist/commands/info.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/install.js +0 -150
- package/node_modules/@microwiseai/skit/dist/commands/install.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/licenses.d.ts +0 -9
- package/node_modules/@microwiseai/skit/dist/commands/licenses.d.ts.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/licenses.js +0 -125
- package/node_modules/@microwiseai/skit/dist/commands/licenses.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/list.js +0 -41
- package/node_modules/@microwiseai/skit/dist/commands/list.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/login.d.ts +0 -10
- package/node_modules/@microwiseai/skit/dist/commands/login.d.ts.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/login.js +0 -112
- package/node_modules/@microwiseai/skit/dist/commands/login.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/logout.d.ts +0 -5
- package/node_modules/@microwiseai/skit/dist/commands/logout.d.ts.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/logout.js +0 -30
- package/node_modules/@microwiseai/skit/dist/commands/logout.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/pack.js +0 -185
- package/node_modules/@microwiseai/skit/dist/commands/pack.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/publish.js +0 -108
- package/node_modules/@microwiseai/skit/dist/commands/publish.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/purchase.d.ts +0 -9
- package/node_modules/@microwiseai/skit/dist/commands/purchase.d.ts.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/purchase.js +0 -160
- package/node_modules/@microwiseai/skit/dist/commands/purchase.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/register.d.ts +0 -10
- package/node_modules/@microwiseai/skit/dist/commands/register.d.ts.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/register.js +0 -121
- package/node_modules/@microwiseai/skit/dist/commands/register.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/uninstall.js +0 -138
- package/node_modules/@microwiseai/skit/dist/commands/uninstall.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/whoami.d.ts +0 -9
- package/node_modules/@microwiseai/skit/dist/commands/whoami.d.ts.map +0 -1
- package/node_modules/@microwiseai/skit/dist/commands/whoami.js +0 -79
- package/node_modules/@microwiseai/skit/dist/commands/whoami.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/index.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/lib.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/types/skit.js +0 -20
- package/node_modules/@microwiseai/skit/dist/types/skit.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/utils/api.d.ts +0 -18
- package/node_modules/@microwiseai/skit/dist/utils/api.d.ts.map +0 -1
- package/node_modules/@microwiseai/skit/dist/utils/api.js +0 -26
- package/node_modules/@microwiseai/skit/dist/utils/api.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/utils/auth.d.ts +0 -62
- package/node_modules/@microwiseai/skit/dist/utils/auth.d.ts.map +0 -1
- package/node_modules/@microwiseai/skit/dist/utils/auth.js +0 -172
- package/node_modules/@microwiseai/skit/dist/utils/auth.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/utils/file-copy.js +0 -219
- package/node_modules/@microwiseai/skit/dist/utils/file-copy.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/utils/hook-installer.js +0 -98
- package/node_modules/@microwiseai/skit/dist/utils/hook-installer.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/utils/installed-registry.js +0 -108
- package/node_modules/@microwiseai/skit/dist/utils/installed-registry.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/utils/skit-parser.js +0 -52
- package/node_modules/@microwiseai/skit/dist/utils/skit-parser.js.map +0 -1
- package/node_modules/@microwiseai/skit/dist/utils/wrapper-generator.d.ts +0 -74
- package/node_modules/@microwiseai/skit/dist/utils/wrapper-generator.d.ts.map +0 -1
- package/node_modules/@microwiseai/skit/dist/utils/wrapper-generator.js +0 -280
- package/node_modules/@microwiseai/skit/dist/utils/wrapper-generator.js.map +0 -1
- package/node_modules/chownr/LICENSE.md +0 -63
- package/node_modules/chownr/README.md +0 -3
- package/node_modules/chownr/dist/commonjs/index.d.ts +0 -3
- package/node_modules/chownr/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/chownr/dist/commonjs/index.js +0 -93
- package/node_modules/chownr/dist/commonjs/index.js.map +0 -1
- package/node_modules/chownr/dist/commonjs/package.json +0 -3
- package/node_modules/chownr/dist/esm/index.d.ts +0 -3
- package/node_modules/chownr/dist/esm/index.d.ts.map +0 -1
- package/node_modules/chownr/dist/esm/index.js +0 -85
- package/node_modules/chownr/dist/esm/index.js.map +0 -1
- package/node_modules/chownr/dist/esm/package.json +0 -3
- package/node_modules/chownr/package.json +0 -69
- package/node_modules/commander/LICENSE +0 -22
- package/node_modules/commander/Readme.md +0 -1157
- package/node_modules/commander/esm.mjs +0 -16
- package/node_modules/commander/index.js +0 -24
- package/node_modules/commander/lib/argument.js +0 -149
- package/node_modules/commander/lib/command.js +0 -2509
- package/node_modules/commander/lib/error.js +0 -39
- package/node_modules/commander/lib/help.js +0 -520
- package/node_modules/commander/lib/option.js +0 -330
- package/node_modules/commander/lib/suggestSimilar.js +0 -101
- package/node_modules/commander/package-support.json +0 -16
- package/node_modules/commander/package.json +0 -84
- package/node_modules/commander/typings/esm.d.mts +0 -3
- package/node_modules/commander/typings/index.d.ts +0 -969
- package/node_modules/minipass/LICENSE.md +0 -55
- package/node_modules/minipass/README.md +0 -825
- package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/minipass/dist/commonjs/index.js +0 -1038
- package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
- package/node_modules/minipass/dist/commonjs/package.json +0 -3
- package/node_modules/minipass/dist/esm/index.d.ts +0 -545
- package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
- package/node_modules/minipass/dist/esm/index.js +0 -1020
- package/node_modules/minipass/dist/esm/index.js.map +0 -1
- package/node_modules/minipass/dist/esm/package.json +0 -3
- package/node_modules/minipass/package.json +0 -77
- package/node_modules/minizlib/LICENSE +0 -26
- package/node_modules/minizlib/README.md +0 -64
- package/node_modules/minizlib/dist/commonjs/constants.d.ts +0 -2
- package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +0 -1
- package/node_modules/minizlib/dist/commonjs/constants.js +0 -123
- package/node_modules/minizlib/dist/commonjs/constants.js.map +0 -1
- package/node_modules/minizlib/dist/commonjs/index.d.ts +0 -99
- package/node_modules/minizlib/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/minizlib/dist/commonjs/index.js +0 -416
- package/node_modules/minizlib/dist/commonjs/index.js.map +0 -1
- package/node_modules/minizlib/dist/commonjs/package.json +0 -3
- package/node_modules/minizlib/dist/esm/constants.d.ts +0 -2
- package/node_modules/minizlib/dist/esm/constants.d.ts.map +0 -1
- package/node_modules/minizlib/dist/esm/constants.js +0 -117
- package/node_modules/minizlib/dist/esm/constants.js.map +0 -1
- package/node_modules/minizlib/dist/esm/index.d.ts +0 -99
- package/node_modules/minizlib/dist/esm/index.d.ts.map +0 -1
- package/node_modules/minizlib/dist/esm/index.js +0 -363
- package/node_modules/minizlib/dist/esm/index.js.map +0 -1
- package/node_modules/minizlib/dist/esm/package.json +0 -3
- package/node_modules/minizlib/package.json +0 -80
- package/node_modules/tar/LICENSE.md +0 -55
- package/node_modules/tar/README.md +0 -1224
- package/node_modules/tar/dist/commonjs/create.d.ts +0 -3
- package/node_modules/tar/dist/commonjs/create.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/create.js +0 -82
- package/node_modules/tar/dist/commonjs/create.js.map +0 -1
- package/node_modules/tar/dist/commonjs/cwd-error.d.ts +0 -8
- package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/cwd-error.js +0 -18
- package/node_modules/tar/dist/commonjs/cwd-error.js.map +0 -1
- package/node_modules/tar/dist/commonjs/extract.d.ts +0 -3
- package/node_modules/tar/dist/commonjs/extract.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/extract.js +0 -88
- package/node_modules/tar/dist/commonjs/extract.js.map +0 -1
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/get-write-flag.js +0 -32
- package/node_modules/tar/dist/commonjs/get-write-flag.js.map +0 -1
- package/node_modules/tar/dist/commonjs/header.d.ts +0 -53
- package/node_modules/tar/dist/commonjs/header.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/header.js +0 -312
- package/node_modules/tar/dist/commonjs/header.js.map +0 -1
- package/node_modules/tar/dist/commonjs/index.d.ts +0 -20
- package/node_modules/tar/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/index.js +0 -64
- package/node_modules/tar/dist/commonjs/index.js.map +0 -1
- package/node_modules/tar/dist/commonjs/index.min.js +0 -4
- package/node_modules/tar/dist/commonjs/index.min.js.map +0 -7
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts +0 -3
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/large-numbers.js +0 -99
- package/node_modules/tar/dist/commonjs/large-numbers.js.map +0 -1
- package/node_modules/tar/dist/commonjs/list.d.ts +0 -7
- package/node_modules/tar/dist/commonjs/list.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/list.js +0 -145
- package/node_modules/tar/dist/commonjs/list.js.map +0 -1
- package/node_modules/tar/dist/commonjs/make-command.d.ts +0 -49
- package/node_modules/tar/dist/commonjs/make-command.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/make-command.js +0 -52
- package/node_modules/tar/dist/commonjs/make-command.js.map +0 -1
- package/node_modules/tar/dist/commonjs/mkdir.d.ts +0 -25
- package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/mkdir.js +0 -187
- package/node_modules/tar/dist/commonjs/mkdir.js.map +0 -1
- package/node_modules/tar/dist/commonjs/mode-fix.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/mode-fix.js +0 -29
- package/node_modules/tar/dist/commonjs/mode-fix.js.map +0 -1
- package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/normalize-unicode.js +0 -38
- package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +0 -1
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +0 -1
- package/node_modules/tar/dist/commonjs/options.d.ts +0 -596
- package/node_modules/tar/dist/commonjs/options.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/options.js +0 -66
- package/node_modules/tar/dist/commonjs/options.js.map +0 -1
- package/node_modules/tar/dist/commonjs/pack.d.ts +0 -102
- package/node_modules/tar/dist/commonjs/pack.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/pack.js +0 -511
- package/node_modules/tar/dist/commonjs/pack.js.map +0 -1
- package/node_modules/tar/dist/commonjs/package.json +0 -3
- package/node_modules/tar/dist/commonjs/parse.d.ts +0 -85
- package/node_modules/tar/dist/commonjs/parse.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/parse.js +0 -610
- package/node_modules/tar/dist/commonjs/parse.js.map +0 -1
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts +0 -11
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/path-reservations.js +0 -170
- package/node_modules/tar/dist/commonjs/path-reservations.js.map +0 -1
- package/node_modules/tar/dist/commonjs/pax.d.ts +0 -26
- package/node_modules/tar/dist/commonjs/pax.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/pax.js +0 -158
- package/node_modules/tar/dist/commonjs/pax.js.map +0 -1
- package/node_modules/tar/dist/commonjs/process-umask.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/process-umask.js +0 -7
- package/node_modules/tar/dist/commonjs/process-umask.js.map +0 -1
- package/node_modules/tar/dist/commonjs/read-entry.d.ts +0 -36
- package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/read-entry.js +0 -136
- package/node_modules/tar/dist/commonjs/read-entry.js.map +0 -1
- package/node_modules/tar/dist/commonjs/replace.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/replace.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/replace.js +0 -227
- package/node_modules/tar/dist/commonjs/replace.js.map +0 -1
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js +0 -29
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +0 -1
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +0 -18
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +0 -1
- package/node_modules/tar/dist/commonjs/symlink-error.d.ts +0 -9
- package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/symlink-error.js +0 -19
- package/node_modules/tar/dist/commonjs/symlink-error.js.map +0 -1
- package/node_modules/tar/dist/commonjs/types.d.ts +0 -7
- package/node_modules/tar/dist/commonjs/types.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/types.js +0 -50
- package/node_modules/tar/dist/commonjs/types.js.map +0 -1
- package/node_modules/tar/dist/commonjs/unpack.d.ts +0 -101
- package/node_modules/tar/dist/commonjs/unpack.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/unpack.js +0 -932
- package/node_modules/tar/dist/commonjs/unpack.js.map +0 -1
- package/node_modules/tar/dist/commonjs/update.d.ts +0 -2
- package/node_modules/tar/dist/commonjs/update.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/update.js +0 -33
- package/node_modules/tar/dist/commonjs/update.js.map +0 -1
- package/node_modules/tar/dist/commonjs/warn-method.d.ts +0 -24
- package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/warn-method.js +0 -31
- package/node_modules/tar/dist/commonjs/warn-method.js.map +0 -1
- package/node_modules/tar/dist/commonjs/winchars.d.ts +0 -3
- package/node_modules/tar/dist/commonjs/winchars.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/winchars.js +0 -14
- package/node_modules/tar/dist/commonjs/winchars.js.map +0 -1
- package/node_modules/tar/dist/commonjs/write-entry.d.ts +0 -129
- package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +0 -1
- package/node_modules/tar/dist/commonjs/write-entry.js +0 -698
- package/node_modules/tar/dist/commonjs/write-entry.js.map +0 -1
- package/node_modules/tar/dist/esm/create.d.ts +0 -3
- package/node_modules/tar/dist/esm/create.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/create.js +0 -76
- package/node_modules/tar/dist/esm/create.js.map +0 -1
- package/node_modules/tar/dist/esm/cwd-error.d.ts +0 -8
- package/node_modules/tar/dist/esm/cwd-error.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/cwd-error.js +0 -14
- package/node_modules/tar/dist/esm/cwd-error.js.map +0 -1
- package/node_modules/tar/dist/esm/extract.d.ts +0 -3
- package/node_modules/tar/dist/esm/extract.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/extract.js +0 -49
- package/node_modules/tar/dist/esm/extract.js.map +0 -1
- package/node_modules/tar/dist/esm/get-write-flag.d.ts +0 -2
- package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/get-write-flag.js +0 -26
- package/node_modules/tar/dist/esm/get-write-flag.js.map +0 -1
- package/node_modules/tar/dist/esm/header.d.ts +0 -53
- package/node_modules/tar/dist/esm/header.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/header.js +0 -275
- package/node_modules/tar/dist/esm/header.js.map +0 -1
- package/node_modules/tar/dist/esm/index.d.ts +0 -20
- package/node_modules/tar/dist/esm/index.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/index.js +0 -20
- package/node_modules/tar/dist/esm/index.js.map +0 -1
- package/node_modules/tar/dist/esm/index.min.js +0 -4
- package/node_modules/tar/dist/esm/index.min.js.map +0 -7
- package/node_modules/tar/dist/esm/large-numbers.d.ts +0 -3
- package/node_modules/tar/dist/esm/large-numbers.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/large-numbers.js +0 -94
- package/node_modules/tar/dist/esm/large-numbers.js.map +0 -1
- package/node_modules/tar/dist/esm/list.d.ts +0 -7
- package/node_modules/tar/dist/esm/list.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/list.js +0 -105
- package/node_modules/tar/dist/esm/list.js.map +0 -1
- package/node_modules/tar/dist/esm/make-command.d.ts +0 -49
- package/node_modules/tar/dist/esm/make-command.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/make-command.js +0 -48
- package/node_modules/tar/dist/esm/make-command.js.map +0 -1
- package/node_modules/tar/dist/esm/mkdir.d.ts +0 -25
- package/node_modules/tar/dist/esm/mkdir.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/mkdir.js +0 -179
- package/node_modules/tar/dist/esm/mkdir.js.map +0 -1
- package/node_modules/tar/dist/esm/mode-fix.d.ts +0 -2
- package/node_modules/tar/dist/esm/mode-fix.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/mode-fix.js +0 -25
- package/node_modules/tar/dist/esm/mode-fix.js.map +0 -1
- package/node_modules/tar/dist/esm/normalize-unicode.d.ts +0 -2
- package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/normalize-unicode.js +0 -34
- package/node_modules/tar/dist/esm/normalize-unicode.js.map +0 -1
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +0 -2
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
- package/node_modules/tar/dist/esm/normalize-windows-path.js.map +0 -1
- package/node_modules/tar/dist/esm/options.d.ts +0 -596
- package/node_modules/tar/dist/esm/options.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/options.js +0 -54
- package/node_modules/tar/dist/esm/options.js.map +0 -1
- package/node_modules/tar/dist/esm/pack.d.ts +0 -102
- package/node_modules/tar/dist/esm/pack.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/pack.js +0 -469
- package/node_modules/tar/dist/esm/pack.js.map +0 -1
- package/node_modules/tar/dist/esm/package.json +0 -3
- package/node_modules/tar/dist/esm/parse.d.ts +0 -85
- package/node_modules/tar/dist/esm/parse.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/parse.js +0 -606
- package/node_modules/tar/dist/esm/parse.js.map +0 -1
- package/node_modules/tar/dist/esm/path-reservations.d.ts +0 -11
- package/node_modules/tar/dist/esm/path-reservations.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/path-reservations.js +0 -166
- package/node_modules/tar/dist/esm/path-reservations.js.map +0 -1
- package/node_modules/tar/dist/esm/pax.d.ts +0 -26
- package/node_modules/tar/dist/esm/pax.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/pax.js +0 -154
- package/node_modules/tar/dist/esm/pax.js.map +0 -1
- package/node_modules/tar/dist/esm/process-umask.d.ts +0 -2
- package/node_modules/tar/dist/esm/process-umask.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/process-umask.js +0 -3
- package/node_modules/tar/dist/esm/process-umask.js.map +0 -1
- package/node_modules/tar/dist/esm/read-entry.d.ts +0 -36
- package/node_modules/tar/dist/esm/read-entry.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/read-entry.js +0 -132
- package/node_modules/tar/dist/esm/read-entry.js.map +0 -1
- package/node_modules/tar/dist/esm/replace.d.ts +0 -2
- package/node_modules/tar/dist/esm/replace.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/replace.js +0 -221
- package/node_modules/tar/dist/esm/replace.js.map +0 -1
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +0 -2
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/strip-absolute-path.js +0 -25
- package/node_modules/tar/dist/esm/strip-absolute-path.js.map +0 -1
- package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +0 -2
- package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/strip-trailing-slashes.js +0 -14
- package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +0 -1
- package/node_modules/tar/dist/esm/symlink-error.d.ts +0 -9
- package/node_modules/tar/dist/esm/symlink-error.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/symlink-error.js +0 -15
- package/node_modules/tar/dist/esm/symlink-error.js.map +0 -1
- package/node_modules/tar/dist/esm/types.d.ts +0 -7
- package/node_modules/tar/dist/esm/types.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/types.js +0 -45
- package/node_modules/tar/dist/esm/types.js.map +0 -1
- package/node_modules/tar/dist/esm/unpack.d.ts +0 -101
- package/node_modules/tar/dist/esm/unpack.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/unpack.js +0 -891
- package/node_modules/tar/dist/esm/unpack.js.map +0 -1
- package/node_modules/tar/dist/esm/update.d.ts +0 -2
- package/node_modules/tar/dist/esm/update.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/update.js +0 -30
- package/node_modules/tar/dist/esm/update.js.map +0 -1
- package/node_modules/tar/dist/esm/warn-method.d.ts +0 -24
- package/node_modules/tar/dist/esm/warn-method.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/warn-method.js +0 -27
- package/node_modules/tar/dist/esm/warn-method.js.map +0 -1
- package/node_modules/tar/dist/esm/winchars.d.ts +0 -3
- package/node_modules/tar/dist/esm/winchars.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/winchars.js +0 -9
- package/node_modules/tar/dist/esm/winchars.js.map +0 -1
- package/node_modules/tar/dist/esm/write-entry.d.ts +0 -129
- package/node_modules/tar/dist/esm/write-entry.d.ts.map +0 -1
- package/node_modules/tar/dist/esm/write-entry.js +0 -656
- package/node_modules/tar/dist/esm/write-entry.js.map +0 -1
- package/node_modules/tar/package.json +0 -297
- package/node_modules/yallist/LICENSE.md +0 -63
- package/node_modules/yallist/README.md +0 -205
- package/node_modules/yallist/dist/commonjs/index.d.ts +0 -39
- package/node_modules/yallist/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/yallist/dist/commonjs/index.js +0 -384
- package/node_modules/yallist/dist/commonjs/index.js.map +0 -1
- package/node_modules/yallist/dist/commonjs/package.json +0 -3
- package/node_modules/yallist/dist/esm/index.d.ts +0 -39
- package/node_modules/yallist/dist/esm/index.d.ts.map +0 -1
- package/node_modules/yallist/dist/esm/index.js +0 -379
- package/node_modules/yallist/dist/esm/index.js.map +0 -1
- package/node_modules/yallist/dist/esm/package.json +0 -3
- package/node_modules/yallist/package.json +0 -68
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proxy-index-refresh.js","sourceRoot":"","sources":["../../src/lib/proxy-index-refresh.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAkBH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAC5C,QAAgB,EAChB,OAAe,EACf,IAAyB;IAEzB,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;IACpC,IAAI,CAAC,GAAG,CAAC,wBAAwB,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,GAAG;QAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;IACpF,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,IAAI,KAAK,CAAC;IACtC,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,yBAAyB,CAAC;IAC1E,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,OAAO,CAAC,GAAG,EAAE;YAC7B,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;YAC/C,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;YAC3C,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,IAAI,MAAM,CAAC;SACtD,CAAC,CAAC;QACH,IAAI,MAAe,CAAC;QACpB,IAAI,CAAC;YACH,MAAM,GAAI,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,CAA0B,EAAE,MAAM,CAAC;QAChE,CAAC;QAAC,MAAM,CAAC;YACP,MAAM,GAAG,SAAS,CAAC;QACrB,CAAC;QACD,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,iBAAiB;YAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC;QAC/F,IAAI,MAAM,KAAK,aAAa;YAAE,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;QAC7D,IAAI,MAAM,KAAK,aAAa;YAAE,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;QAC7D,IAAI,MAAM,KAAK,WAAW;YAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;QACzD,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;QAC7E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC;IACzD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;IAC3F,CAAC;AACH,CAAC;AAED,0DAA0D;AAC1D,MAAM,UAAU,oBAAoB,CAAC,CAAsB,EAAE,KAAa;IACxE,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC;QACf,KAAK,WAAW;YACd,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,sCAAsC,KAAK,KAAK,CAAC,CAAC,MAAM,qBAAqB,EAAE,CAAC;QAC9G,KAAK,aAAa;YAChB,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kCAAkC,KAAK,8DAA8D,EAAE,CAAC;QACxI,KAAK,aAAa;YAChB,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,qFAAqF,EAAE,CAAC;QAChI,KAAK,WAAW;YACd,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,8BAA8B,KAAK,2CAA2C,EAAE,CAAC;QACjH,KAAK,aAAa;YAChB,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,+CAA+C,KAAK,6DAA6D,EAAE,CAAC;QACpJ,KAAK,SAAS;YACZ,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,mEAAmE,EAAE,CAAC;QACtG,KAAK,OAAO;YACV,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,wCAAwC,CAAC,CAAC,MAAM,MAAM,KAAK,6DAA6D,EAAE,CAAC;IAC7J,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 주식회사 마이크로아틱 / Microartic Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,119 +1,152 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @microwiseai/skit
|
|
2
2
|
|
|
3
|
-
Session Kit
|
|
3
|
+
skit (Session Kit) is a vendor-neutral format and package manager for session kits: it defines the profiles, prompts, permission packs, state, hooks and CLI tools an AI agent session needs for a role, and installs and distributes them as one kit. Adapters apply kits to each agent, so any vendor can use them by providing an adapter; IST is one such adapter, connecting kits to Claude Code, Codex, Cursor and more.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Canonical definition: [docs/DEFINITION.md](docs/DEFINITION.md).
|
|
6
|
+
|
|
7
|
+
> The CLI command is `skit`; the npm package name is `@microwiseai/skit`.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
6
10
|
|
|
7
11
|
```bash
|
|
8
|
-
npm install -g @
|
|
12
|
+
npm install -g @microwiseai/skit
|
|
9
13
|
```
|
|
10
14
|
|
|
11
|
-
|
|
15
|
+
**Requirements**: Node.js >= 18.0.0
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
Run `skit --help` to see the full command list.
|
|
12
20
|
|
|
13
|
-
|
|
21
|
+
| Command | Alias | Description |
|
|
22
|
+
|---------|-------|-------------|
|
|
23
|
+
| `skit install <pkg>` | `i` | Install a skit package |
|
|
24
|
+
| `skit uninstall <pkg>` | `rm` | Uninstall a skit package |
|
|
25
|
+
| `skit list` | `ls` | List installed skit packages |
|
|
26
|
+
| `skit browse <org>` | | Browse an organization's skit packages |
|
|
27
|
+
| `skit info` | | Show info from the current skit.json |
|
|
28
|
+
| `skit pack` | | Pack the current directory into a .tgz |
|
|
29
|
+
| `skit publish` | `p` | Publish to the GitLab registry |
|
|
30
|
+
| `skit prompt` | | Kit-aware prompt management |
|
|
31
|
+
| `skit orphans` | | Find prompts/profiles not managed by any skit |
|
|
32
|
+
| `skit gitignore` | | Create/update a skit-default .gitignore |
|
|
14
33
|
|
|
15
|
-
###
|
|
34
|
+
### Installing packages
|
|
16
35
|
|
|
17
36
|
```bash
|
|
18
|
-
# GitLab
|
|
37
|
+
# Install from the GitLab registry
|
|
19
38
|
skit install @ist/qa-kit
|
|
20
39
|
|
|
21
|
-
#
|
|
40
|
+
# Install a specific version
|
|
22
41
|
skit install @ist/qa-kit@1.0.0
|
|
23
42
|
|
|
24
|
-
#
|
|
43
|
+
# Install from a local .tgz file
|
|
25
44
|
skit install ./my-kit-1.0.0.tgz
|
|
26
45
|
|
|
27
|
-
#
|
|
46
|
+
# Install from a local directory (development)
|
|
28
47
|
skit install .
|
|
29
48
|
|
|
30
|
-
#
|
|
49
|
+
# Verbose output / dry run
|
|
31
50
|
skit install @ist/qa-kit -v
|
|
32
|
-
|
|
33
|
-
# 드라이 런 (실제 설치 없이 확인)
|
|
34
51
|
skit install @ist/qa-kit --dry-run
|
|
35
52
|
```
|
|
36
53
|
|
|
37
|
-
###
|
|
54
|
+
### Global dependencies (`--deps`)
|
|
38
55
|
|
|
39
|
-
|
|
40
|
-
skit
|
|
41
|
-
# 또는
|
|
42
|
-
skit rm @ist/qa-kit
|
|
43
|
-
```
|
|
56
|
+
A kit's `dependencies.npm` and `components.clis` are installed globally. Before
|
|
57
|
+
installing, `skit install` prints a plan, and `--deps` controls what it does:
|
|
44
58
|
|
|
45
|
-
|
|
59
|
+
| Mode | Behavior |
|
|
60
|
+
|------|----------|
|
|
61
|
+
| `satisfied` (default) | Keep an installed global version that satisfies the declared range (semver, prereleases count). Install deps that are missing or out of range. |
|
|
62
|
+
| `missing` | Keep **any** installed version, even a prerelease or one outside the range. Install only absent deps (useful on a dev machine). |
|
|
63
|
+
| `all` | Reinstall every dep regardless of what is installed (the behavior up to 0.1.43). |
|
|
64
|
+
| `none` | Install no global deps; only profiles, prompts, states, packs and hooks are installed. Same as `--no-deps`. |
|
|
46
65
|
|
|
47
66
|
```bash
|
|
48
|
-
skit
|
|
49
|
-
#
|
|
50
|
-
skit
|
|
51
|
-
|
|
52
|
-
#
|
|
53
|
-
skit list --json
|
|
67
|
+
skit install @ist/tda-kit # default: --deps satisfied
|
|
68
|
+
skit install @ist/tda-kit --deps missing # keep my dev builds
|
|
69
|
+
skit install @ist/tda-kit --skip-dep @ist/sesh # never touch sesh (repeatable; CLI names work too)
|
|
70
|
+
skit install @ist/tda-kit --no-deps # components only
|
|
71
|
+
skit install @ist/tda-kit --dry-run # components + dep plan, nothing installed
|
|
54
72
|
```
|
|
55
73
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
# 특정 조직의 skit 패키지 목록 조회
|
|
60
|
-
skit browse @ist
|
|
74
|
+
Example plan:
|
|
61
75
|
|
|
62
|
-
|
|
63
|
-
|
|
76
|
+
```
|
|
77
|
+
global deps (mode: satisfied):
|
|
78
|
+
= @ist/tda 0.1.8 ^0.1.8 keep (satisfies) (newer in range: 0.1.9 — use --deps all)
|
|
79
|
+
~ @ist/sesh 0.9.0-dev.1790427711543 ^0.8.2 CHANGE 0.9.0-dev.1790427711543 → ^0.8.2 ⚠ downgrade, prerelease → stable
|
|
80
|
+
+ @ist/loggable-cli (absent) ^0.1.17 install
|
|
81
|
+
- @ist/messenger-cli 0.4.0 ^0.5.0 skip (--skip-dep)
|
|
82
|
+
⚠ @ist/sesh: 0.9.0-dev.1790427711543 would be replaced by ^0.8.2 — use --deps missing or --skip-dep @ist/sesh to keep it
|
|
64
83
|
```
|
|
65
84
|
|
|
66
|
-
|
|
85
|
+
- To detect installed versions, skit runs `npm root -g` once and reads `<root>/<name>/package.json`. It does not spawn npm once per dependency.
|
|
86
|
+
- When a change is a **downgrade** or replaces a **prerelease with a stable** version, an interactive terminal asks y/N for each such dep. The default N keeps the installed version. Non-TTY runs and `--yes` only print the warning.
|
|
87
|
+
- `--dry-run` fetches a remote kit into a temporary staging directory to read its `skit.json`. Dry-run is the only time skit queries the registry for the `newer in range` hint.
|
|
67
88
|
|
|
68
|
-
|
|
69
|
-
# 현재 디렉토리의 skit.json 정보 표시
|
|
70
|
-
skit info
|
|
89
|
+
### Uninstall / list / browse / info
|
|
71
90
|
|
|
72
|
-
|
|
91
|
+
```bash
|
|
92
|
+
skit uninstall @ist/qa-kit # or: skit rm @ist/qa-kit
|
|
93
|
+
skit list # or: skit ls
|
|
94
|
+
skit list --json
|
|
95
|
+
skit browse @ist # list an org's skit packages
|
|
96
|
+
skit browse @ist --json
|
|
97
|
+
skit info # show the current skit.json info
|
|
73
98
|
skit info --json
|
|
74
99
|
```
|
|
75
100
|
|
|
76
|
-
###
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
# 현재 디렉토리를 .tgz 파일로 패킹
|
|
80
|
-
skit pack
|
|
101
|
+
### Prompt management
|
|
81
102
|
|
|
82
|
-
|
|
83
|
-
skit pack -o ./dist
|
|
103
|
+
Browse and print the prompts provided by installed kits directly with `skit` (no need to go through `sesh`).
|
|
84
104
|
|
|
85
|
-
|
|
86
|
-
|
|
105
|
+
```bash
|
|
106
|
+
# List prompts (grouped by kit)
|
|
107
|
+
skit prompt list # or: skit prompt ls
|
|
108
|
+
skit prompt list --json
|
|
109
|
+
skit prompt list -a # all scopes (global + profile) + unmanaged
|
|
110
|
+
skit prompt list -p <profile> # a specific profile scope
|
|
111
|
+
|
|
112
|
+
# Print prompt content
|
|
113
|
+
skit prompt show <name>
|
|
114
|
+
skit prompt show <name> --raw # raw content without the kit header
|
|
115
|
+
skit prompt show <name> -p <profile> # from a specific profile scope
|
|
87
116
|
```
|
|
88
117
|
|
|
89
|
-
###
|
|
118
|
+
### Orphans (cleaning up unmanaged files)
|
|
90
119
|
|
|
91
120
|
```bash
|
|
92
|
-
#
|
|
93
|
-
skit
|
|
94
|
-
#
|
|
95
|
-
skit
|
|
121
|
+
skit orphans # find unmanaged prompts/profiles
|
|
122
|
+
skit orphans --json
|
|
123
|
+
skit orphans --dry-run # show what would be deleted
|
|
124
|
+
skit orphans -i # interactively select files to delete
|
|
125
|
+
skit orphans --clean --force # delete all without confirmation
|
|
126
|
+
```
|
|
96
127
|
|
|
97
|
-
|
|
98
|
-
skit publish --bump patch # 0.1.0 → 0.1.1
|
|
99
|
-
skit publish --bump minor # 0.1.0 → 0.2.0
|
|
100
|
-
skit publish --bump major # 0.1.0 → 1.0.0
|
|
128
|
+
### Pack / publish
|
|
101
129
|
|
|
102
|
-
|
|
130
|
+
```bash
|
|
131
|
+
skit pack # pack into a .tgz
|
|
132
|
+
skit pack -o ./dist # set output directory
|
|
133
|
+
skit pack --dry-run # preview included files
|
|
134
|
+
|
|
135
|
+
skit publish # publish to GitLab (alias: skit p)
|
|
136
|
+
skit publish --bump patch # 0.1.0 -> 0.1.1
|
|
137
|
+
skit publish --bump minor # 0.1.0 -> 0.2.0
|
|
138
|
+
skit publish --bump major # 0.1.0 -> 1.0.0
|
|
103
139
|
skit publish --dry-run
|
|
104
140
|
```
|
|
105
141
|
|
|
106
|
-
### .gitignore
|
|
142
|
+
### Generating .gitignore
|
|
107
143
|
|
|
108
144
|
```bash
|
|
109
|
-
# skit
|
|
110
|
-
skit gitignore
|
|
111
|
-
|
|
112
|
-
# 기존 파일 덮어쓰기
|
|
113
|
-
skit gitignore -f
|
|
145
|
+
skit gitignore # create/update a skit-default .gitignore
|
|
146
|
+
skit gitignore -f # overwrite the existing file
|
|
114
147
|
```
|
|
115
148
|
|
|
116
|
-
## skit.json
|
|
149
|
+
## skit.json structure
|
|
117
150
|
|
|
118
151
|
```json
|
|
119
152
|
{
|
|
@@ -127,7 +160,7 @@ skit gitignore -f
|
|
|
127
160
|
"cli": [
|
|
128
161
|
{
|
|
129
162
|
"name": "git-nested",
|
|
130
|
-
"install": "
|
|
163
|
+
"install": "glpkg install @microature/git-nested -g",
|
|
131
164
|
"check": "git-nested --version",
|
|
132
165
|
"optional": true
|
|
133
166
|
}
|
|
@@ -159,46 +192,57 @@ skit gitignore -f
|
|
|
159
192
|
}
|
|
160
193
|
```
|
|
161
194
|
|
|
162
|
-
### dependencies
|
|
195
|
+
### `dependencies` field
|
|
163
196
|
|
|
164
|
-
|
|
|
165
|
-
|
|
166
|
-
| `cli` | CLI
|
|
167
|
-
| `cli[].name` |
|
|
168
|
-
| `cli[].install` |
|
|
169
|
-
| `cli[].check` | (
|
|
170
|
-
| `cli[].optional` | (
|
|
171
|
-
| `skit` |
|
|
172
|
-
```
|
|
197
|
+
| Field | Description |
|
|
198
|
+
|-------|-------------|
|
|
199
|
+
| `cli` | CLI tool dependencies (any package manager: glpkg, npm, pip, etc.) |
|
|
200
|
+
| `cli[].name` | Tool name (for display) |
|
|
201
|
+
| `cli[].install` | Install command |
|
|
202
|
+
| `cli[].check` | (optional) Check command — skips install if it succeeds |
|
|
203
|
+
| `cli[].optional` | (optional) If true, continue even if install fails |
|
|
204
|
+
| `skit` | Other skit package dependencies |
|
|
173
205
|
|
|
174
|
-
##
|
|
206
|
+
## Default install paths
|
|
175
207
|
|
|
176
|
-
|
|
|
177
|
-
|
|
208
|
+
| Component type | Default path |
|
|
209
|
+
|----------------|--------------|
|
|
178
210
|
| profiles | `~/.ist/profiles/` |
|
|
179
211
|
| prompts | `~/.ist/prompts/global/` |
|
|
180
212
|
| states | `~/.ist/state/profiles/` |
|
|
181
|
-
| packs | `~/.sesh/permission-packs.json` (
|
|
213
|
+
| packs | `~/.sesh/permission-packs.json` (merged) |
|
|
182
214
|
|
|
183
|
-
##
|
|
215
|
+
## Using as a library
|
|
184
216
|
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
|
|
217
|
+
```ts
|
|
218
|
+
import { /* ... */ } from "@microwiseai/skit/lib";
|
|
219
|
+
```
|
|
188
220
|
|
|
189
|
-
|
|
190
|
-
|
|
221
|
+
```ts
|
|
222
|
+
import { installSkit } from "@microwiseai/skit/lib";
|
|
191
223
|
|
|
192
|
-
|
|
193
|
-
|
|
224
|
+
const result = await installSkit("@ist/tda-kit", {
|
|
225
|
+
deps: "missing", // 'satisfied' (default) | 'missing' | 'all' | 'none'
|
|
226
|
+
skipDeps: ["@ist/sesh"],
|
|
227
|
+
// skipDependencies: true // deprecated alias for deps: 'none'
|
|
228
|
+
confirmChange: (entry) => false, // optional: decline risky (downgrade / prerelease→stable) changes
|
|
229
|
+
});
|
|
230
|
+
result.depPlan; // [{ name, range, installed?, action: 'keep'|'install'|'change'|'skip', reason, kind, warnings? }]
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
- `main`: `./dist/lib.js`
|
|
234
|
+
- `exports`: `.` (CLI entry), `./lib` (library entry)
|
|
194
235
|
|
|
195
|
-
|
|
196
|
-
npm test
|
|
236
|
+
## Development
|
|
197
237
|
|
|
198
|
-
|
|
199
|
-
npm
|
|
238
|
+
```bash
|
|
239
|
+
npm install # install dependencies
|
|
240
|
+
npm run build # compile TypeScript
|
|
241
|
+
npm run dev # watch mode
|
|
242
|
+
npm test # run tests (vitest)
|
|
243
|
+
npm run test:run # run tests once
|
|
200
244
|
```
|
|
201
245
|
|
|
202
|
-
##
|
|
246
|
+
## License
|
|
203
247
|
|
|
204
248
|
MIT
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hermetic-config.d.ts","sourceRoot":"","sources":["../../../src/__tests__/setup/hermetic-config.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,53 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* `skit browse <group> [--scope @ist] [--json]` (P2-B generalization).
|
|
3
|
+
*
|
|
4
|
+
* group-PRIMARY: the positional arg is a real GitLab GROUP PATH (e.g.
|
|
5
|
+
* `microwiseai`, `microwiseai/sub`) — NOT a scope. `--scope` is an optional exact
|
|
6
|
+
* filter. Host comes from the P2 chain (getGitlabHost: IST_GITLAB_HOST → skit
|
|
7
|
+
* config → gitlab.com); the ambient GitLab token (resolveAmbientGitlabToken) is
|
|
8
|
+
* attached when present, else the listing is anonymous (public groups work
|
|
9
|
+
* token-free). No gitlab-config binary, no gitlab.com hardcode, no name heuristics.
|
|
10
|
+
*/
|
|
11
|
+
export interface BrowseOptions {
|
|
2
12
|
json?: boolean;
|
|
13
|
+
/** optional scope filter, e.g. '@ist' (exact, via the generic `scope__` prefix). */
|
|
14
|
+
scope?: string;
|
|
15
|
+
/** optional GitLab host override (else the getGitlabHost chain). */
|
|
16
|
+
host?: string;
|
|
17
|
+
}
|
|
18
|
+
interface GitLabPackage {
|
|
19
|
+
id: number;
|
|
20
|
+
name: string;
|
|
21
|
+
version: string;
|
|
22
|
+
package_type: string;
|
|
23
|
+
created_at: string;
|
|
3
24
|
}
|
|
4
25
|
/**
|
|
5
|
-
*
|
|
26
|
+
* Map a scope to the GENERIC package-name prefix skit publishes under
|
|
27
|
+
* (`toRegistryFormat`: '@ist' → 'ist__', '@mwd-tools' → 'mwd-tools__'). Exact —
|
|
28
|
+
* replaces the old `includes('skit')` heuristic. @internal Exported for testing.
|
|
29
|
+
*/
|
|
30
|
+
export declare function scopePrefix(scope: string): string;
|
|
31
|
+
/**
|
|
32
|
+
* Reconstruct a display name from a generic `scope__name` package name:
|
|
33
|
+
* 'ist__foo-kit' → '@ist/foo-kit'. Names without the `__` separator are shown
|
|
34
|
+
* as-is. @internal Exported for testing.
|
|
35
|
+
*/
|
|
36
|
+
export declare function toDisplayName(genericName: string): string;
|
|
37
|
+
/**
|
|
38
|
+
* Resolve a GitLab group PATH → numeric id. Anonymous for a public group; a
|
|
39
|
+
* token (when present) enables private groups. @internal Exported for testing.
|
|
40
|
+
*/
|
|
41
|
+
export declare function resolveGroupId(host: string, group: string, token: string | null): Promise<number>;
|
|
42
|
+
/**
|
|
43
|
+
* List the group's generic packages (paginated). @internal Exported for testing.
|
|
44
|
+
*/
|
|
45
|
+
export declare function listGenericPackages(host: string, groupId: number, token: string | null): Promise<GitLabPackage[]>;
|
|
46
|
+
/** Dedupe by name, keeping the newest by created_at. @internal Exported for testing. */
|
|
47
|
+
export declare function latestByName(packages: GitLabPackage[]): GitLabPackage[];
|
|
48
|
+
/**
|
|
49
|
+
* Browse command handler — list a GitLab group's generic (skit) packages.
|
|
6
50
|
*/
|
|
7
|
-
export declare function browseCommand(
|
|
51
|
+
export declare function browseCommand(group: string, options: BrowseOptions): Promise<void>;
|
|
8
52
|
export {};
|
|
9
53
|
//# sourceMappingURL=browse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browse.d.ts","sourceRoot":"","sources":["../../src/commands/browse.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"browse.d.ts","sourceRoot":"","sources":["../../src/commands/browse.ts"],"names":[],"mappings":"AAIA;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,aAAa;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAIzD;AAOD;;;GAGG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GAAG,IAAI,GACnB,OAAO,CAAC,MAAM,CAAC,CAiBjB;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,GAAG,IAAI,GACnB,OAAO,CAAC,aAAa,EAAE,CAAC,CAkB1B;AAED,wFAAwF;AACxF,wBAAgB,YAAY,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,aAAa,EAAE,CASvE;AAED;;GAEG;AACH,wBAAsB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAyExF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function configSetCommand(key: string, value: string): void;
|
|
2
|
+
export declare function configGetCommand(key: string): void;
|
|
3
|
+
export declare function configUnsetCommand(key: string): void;
|
|
4
|
+
export declare function configListCommand(): void;
|
|
5
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAwBA,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CASjE;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAUlD;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAQpD;AAED,wBAAgB,iBAAiB,IAAI,IAAI,CAOxC"}
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* skit install command - CLI wrapper for lib.installSkit
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
import { type DepsMode } from '../utils/dep-plan.js';
|
|
5
|
+
export interface InstallOptions {
|
|
5
6
|
verbose?: boolean;
|
|
6
7
|
dryRun?: boolean;
|
|
8
|
+
group?: string;
|
|
9
|
+
source?: string;
|
|
10
|
+
/** `--deps <mode>` string, or `false` from `--no-deps` */
|
|
11
|
+
deps?: string | boolean;
|
|
12
|
+
/** `--skip-dep <name>` (repeatable) */
|
|
13
|
+
skipDep?: string[];
|
|
14
|
+
/** `--yes`: never prompt on risky dep changes */
|
|
15
|
+
yes?: boolean;
|
|
7
16
|
}
|
|
17
|
+
/** Commander collector for repeatable `--skip-dep`. */
|
|
18
|
+
export declare function collectSkipDep(value: string, previous?: string[]): string[];
|
|
19
|
+
/** Map the CLI `--deps` / `--no-deps` value to a mode (undefined = lib default). */
|
|
20
|
+
export declare function resolveCliDepsMode(deps: string | boolean | undefined): DepsMode | undefined;
|
|
8
21
|
/**
|
|
9
22
|
* Install command handler - thin wrapper around lib.installSkit
|
|
10
23
|
*/
|
|
11
24
|
export declare function installCommand(packageName: string, options: InstallOptions): Promise<void>;
|
|
12
|
-
export {};
|
|
13
25
|
//# sourceMappingURL=install.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":"AAAA;;GAEG;AAWH,OAAO,EAIL,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,iDAAiD;IACjD,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,uDAAuD;AACvD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAM,EAAO,GAAG,MAAM,EAAE,CAE/E;AAED,oFAAoF;AACpF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAI3F;AA8GD;;GAEG;AACH,wBAAsB,cAAc,CAClC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,IAAI,CAAC,CA4Gf"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* skit orphans command - find prompts/profiles not managed by any installed skit
|
|
3
|
+
*/
|
|
4
|
+
interface OrphansOptions {
|
|
5
|
+
json?: boolean;
|
|
6
|
+
clean?: boolean;
|
|
7
|
+
force?: boolean;
|
|
8
|
+
interactive?: boolean;
|
|
9
|
+
dryRun?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Orphans command handler
|
|
13
|
+
*/
|
|
14
|
+
export declare function orphansCommand(options: OrphansOptions): Promise<void>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=orphans.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orphans.d.ts","sourceRoot":"","sources":["../../src/commands/orphans.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA2GD;;GAEG;AACH,wBAAsB,cAAc,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CA2G3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack.d.ts","sourceRoot":"","sources":["../../src/commands/pack.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pack.d.ts","sourceRoot":"","sources":["../../src/commands/pack.ts"],"names":[],"mappings":"AAQA,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAoKD;;GAEG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAmErE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* skit prompt command - Kit-aware prompt management
|
|
3
|
+
*
|
|
4
|
+
* Groups prompts by their source kit using installed-kits.json registry.
|
|
5
|
+
* Replaces the need for `isesh prompt list` for kit-managed prompts.
|
|
6
|
+
*/
|
|
7
|
+
interface PromptListOptions {
|
|
8
|
+
json?: boolean;
|
|
9
|
+
all?: boolean;
|
|
10
|
+
profile?: string;
|
|
11
|
+
}
|
|
12
|
+
interface PromptShowOptions {
|
|
13
|
+
raw?: boolean;
|
|
14
|
+
profile?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* List prompts grouped by kit
|
|
18
|
+
*/
|
|
19
|
+
export declare function promptListCommand(options: PromptListOptions): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Show a specific prompt's content
|
|
22
|
+
*/
|
|
23
|
+
export declare function promptShowCommand(name: string, options: PromptShowOptions): Promise<void>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=prompt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../src/commands/prompt.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,UAAU,iBAAiB;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,iBAAiB;IACzB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAuFD;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2GjF;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAoE/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/commands/publish.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/commands/publish.ts"],"names":[],"mappings":"AAMA,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAoFD;;GAEG;AACH,wBAAsB,cAAc,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAqD3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../src/commands/uninstall.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../src/commands/uninstall.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,CAyEf"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { InstallDirective } from '@microwiseai/distkit';
|
|
2
|
+
import type { AccessTier, Ecosystem, ResolvedFrom } from '@microwiseai/distkit-schema';
|
|
3
|
+
import type { NpmDependencySource } from '../types/skit.js';
|
|
4
|
+
/**
|
|
5
|
+
* A capability skit has not implemented yet (entitlement token injection,
|
|
6
|
+
* per-dep gitlab-pat npm install). Thrown fail-loud so an unwired credential
|
|
7
|
+
* path can NEVER silent-allow or fabricate a token. Distinct `code` for callers.
|
|
8
|
+
*/
|
|
9
|
+
export declare class NotImplementedError extends Error {
|
|
10
|
+
readonly code = "NOT_IMPLEMENTED";
|
|
11
|
+
constructor(message: string);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Which concrete skit install batch a dep lands in.
|
|
15
|
+
* - 'npmjs' — public npmjs default registry (token-free).
|
|
16
|
+
* - 'proxy' — anonymous scoped .npmrc against the registry-proxy (token-free).
|
|
17
|
+
* - 'gitlab' — the scope's GitLab group registry, ANONYMOUS-TOLERANT: a public
|
|
18
|
+
* package installs token-free; a private one attaches the ambient
|
|
19
|
+
* GitLab PAT at install time (mirrors the kit-tarball AuthPort).
|
|
20
|
+
*/
|
|
21
|
+
export type SkitInstallBatch = 'npmjs' | 'proxy' | 'gitlab';
|
|
22
|
+
/** The resolved plan for one npm dependency: its origin, matrix directive, batch. */
|
|
23
|
+
export interface SkitInstallPlan {
|
|
24
|
+
resolvedFrom: ResolvedFrom;
|
|
25
|
+
directive: InstallDirective;
|
|
26
|
+
/** 'npmjs' ⇒ public npmjs default registry; 'proxy' ⇒ anonymous scoped .npmrc. */
|
|
27
|
+
batch: SkitInstallBatch;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Decide how to install one npm dependency, authoritative per the routing matrix.
|
|
31
|
+
*
|
|
32
|
+
* `accessTier` is an OBSERVATION (authority = license-mgr). skit has NO
|
|
33
|
+
* non-public npm-dependency install path today, so it defaults to `'public'` —
|
|
34
|
+
* which, for both `npmjs-public` and `our-proxy`, yields `tokenRequirement:
|
|
35
|
+
* 'none'` (C1 / O2-public). The `entitlement` branch is therefore unreachable in
|
|
36
|
+
* production now; it exists (and throws) so the moment a licensed tier is fed in,
|
|
37
|
+
* the missing license-mgr contract fails loud instead of installing wrongly.
|
|
38
|
+
*/
|
|
39
|
+
export declare function planNpmInstall(opts: {
|
|
40
|
+
name: string;
|
|
41
|
+
/** skit per-dep source intent ('npm' | 'proxy'). */
|
|
42
|
+
source: NpmDependencySource;
|
|
43
|
+
/** observed access tier; defaults 'public' (skit has no non-public npm path). */
|
|
44
|
+
accessTier?: AccessTier;
|
|
45
|
+
/** package ecosystem; defaults 'npm' (skit npm deps). */
|
|
46
|
+
ecosystem?: Ecosystem;
|
|
47
|
+
}): SkitInstallPlan;
|
|
48
|
+
//# sourceMappingURL=install-directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install-directive.d.ts","sourceRoot":"","sources":["../../src/distkit/install-directive.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACvF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D;;;;GAIG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,QAAQ,CAAC,IAAI,qBAAqB;gBACtB,OAAO,EAAE,MAAM;CAK5B;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE5D,qFAAqF;AACrF,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,gBAAgB,CAAC;IAC5B,kFAAkF;IAClF,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,MAAM,EAAE,mBAAmB,CAAC;IAC5B,iFAAiF;IACjF,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,yDAAyD;IACzD,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GAAG,eAAe,CAoDlB"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { InstallDirective } from '@microwiseai/distkit';
|
|
2
|
+
import type { AuthPort } from '@glpkg/cli';
|
|
3
|
+
/** Kit download source: `gitlab` (token-direct, the default) or `proxy` (opt-in). */
|
|
4
|
+
export type KitSource = 'gitlab' | 'proxy';
|
|
5
|
+
/**
|
|
6
|
+
* Build the generic kit `InstallDirective` via distkit's ONE router (mirrors
|
|
7
|
+
* glpkg `buildGenericInstallDirective`). skit does NOT decide token/url — the
|
|
8
|
+
* router does.
|
|
9
|
+
*
|
|
10
|
+
* - `gitlab` (default / the FLIP): `gitlab-registry` + `authenticated` ⇒
|
|
11
|
+
* `tokenRequirement:'gitlab-pat'`, `urlSource:'gitlab-registry'`. The AuthPort
|
|
12
|
+
* is anonymous-tolerant, so a PUBLIC group registry still installs token-free
|
|
13
|
+
* (null token) while a private kit uses the PAT.
|
|
14
|
+
* - `proxy` (opt-in): `our-proxy` + **`public`** ⇒ `tokenRequirement:'none'`,
|
|
15
|
+
* preserving the existing ANONYMOUS public-proxy path (R6). `entitlement`
|
|
16
|
+
* (non-public proxy) is intentionally NOT produced here — skit has no
|
|
17
|
+
* license-api entitlement path, so the AuthPort fails loud if it ever appears.
|
|
18
|
+
*
|
|
19
|
+
* @throws when `source==='proxy'` but no proxy endpoint is provided.
|
|
20
|
+
*/
|
|
21
|
+
export declare function buildKitDirective(source: KitSource, proxyUrl?: string, group?: string): InstallDirective;
|
|
22
|
+
/**
|
|
23
|
+
* Resolve the ambient GitLab PAT the way glpkg's token manager does (parity with
|
|
24
|
+
* the credential the old `glpkg install --generic` shell-out used):
|
|
25
|
+
* provided > GITLAB_TOKEN env > ~/.config/glpkg/token > ~/.config/gitlab-config/token
|
|
26
|
+
* Returns `null` when none is configured (⇒ anonymous, public installs still work;
|
|
27
|
+
* a private registry then 401/403s with an actionable message).
|
|
28
|
+
* @internal Exported for testing.
|
|
29
|
+
*/
|
|
30
|
+
export declare function resolveAmbientGitlabToken(): string | null;
|
|
31
|
+
/**
|
|
32
|
+
* skit's `AuthPort` (report 35 §3.3 option B). glpkg NEVER decides identity — the
|
|
33
|
+
* directive emits `tokenRequirement` and this port maps it to a credential:
|
|
34
|
+
* - `none` → null (anonymous public — expected).
|
|
35
|
+
* - `gitlab-pat` → the provided token, else the ambient PAT, else null
|
|
36
|
+
* (anonymous-tolerant: public kits install token-free; a
|
|
37
|
+
* private kit without a token 401/403s loud downstream).
|
|
38
|
+
* - `entitlement` → fail-loud ({@link NotImplementedError}). skit has no
|
|
39
|
+
* license-api entitlement path; `buildKitDirective` never
|
|
40
|
+
* produces this, so it is a pure safety valve.
|
|
41
|
+
*
|
|
42
|
+
* @param providedToken an explicit credential (e.g. a future `--token`); when
|
|
43
|
+
* omitted, the ambient PAT is used.
|
|
44
|
+
*/
|
|
45
|
+
export declare function createSkitAuthPort(providedToken?: string | null): AuthPort;
|
|
46
|
+
//# sourceMappingURL=kit-executor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kit-executor.d.ts","sourceRoot":"","sources":["../../src/distkit/kit-executor.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,QAAQ,EAAe,MAAM,YAAY,CAAC;AAMxD,qFAAqF;AACrF,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,EACjB,QAAQ,CAAC,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,MAAM,GACb,gBAAgB,CAoBlB;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,GAAG,IAAI,CAgBzD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,QAAQ,CAsB1E"}
|