@skaile/workspaces 0.48.2 → 0.50.0
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/CHANGELOG.md +36 -0
- package/dist/asset-manager/index.js +2 -2
- package/dist/asset-manager/installer.js +1 -1
- package/dist/asset-manager/src/index.d.ts +13 -1
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts +19 -8
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/{chunk-LTUTK2Q3.js → chunk-2Y4HIITD.js} +24 -15
- package/dist/chunk-2Y4HIITD.js.map +1 -0
- package/dist/{chunk-XVDXGQ55.js → chunk-7X53KHQ4.js} +4 -2
- package/dist/{chunk-XVDXGQ55.js.map → chunk-7X53KHQ4.js.map} +1 -1
- package/dist/{chunk-BWCGSGAC.js → chunk-C5RYGUF4.js} +17 -6
- package/dist/chunk-C5RYGUF4.js.map +1 -0
- package/dist/{chunk-YERSEKB2.js → chunk-H74X4TSR.js} +2 -2
- package/dist/{chunk-YERSEKB2.js.map → chunk-H74X4TSR.js.map} +1 -1
- package/dist/{chunk-CK3O5BCT.js → chunk-LV73DB4G.js} +32 -2
- package/dist/chunk-LV73DB4G.js.map +1 -0
- package/dist/cli/index.js +14 -8
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +1 -1
- package/dist/runner/index.js +1 -1
- package/dist/runner/src/runtime-session-emit.d.ts +39 -0
- package/dist/runner/src/runtime-session-emit.d.ts.map +1 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +2 -2
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/runner.js +1 -1
- package/dist/sdk/store.js +1 -1
- package/dist/store/index.js +1 -1
- package/dist/store/src/store.d.ts.map +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/types/src/events.d.ts +33 -1
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-BWCGSGAC.js.map +0 -1
- package/dist/chunk-CK3O5BCT.js.map +0 -1
- package/dist/chunk-LTUTK2Q3.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -9,10 +9,10 @@ import '../chunk-JXHULIOA.js';
|
|
|
9
9
|
import '../chunk-JXT46QFC.js';
|
|
10
10
|
import '../chunk-UKJMQZV6.js';
|
|
11
11
|
import '../chunk-R7FOF242.js';
|
|
12
|
-
import { runFlow, resumeFlow } from '../chunk-
|
|
12
|
+
import { runFlow, resumeFlow } from '../chunk-H74X4TSR.js';
|
|
13
13
|
import '../chunk-4R6DROGN.js';
|
|
14
14
|
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-GXC3TYMQ.js';
|
|
15
|
-
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-
|
|
15
|
+
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-LV73DB4G.js';
|
|
16
16
|
import { buildClaudePluginFiles } from '../chunk-SXT6BAQJ.js';
|
|
17
17
|
import '../chunk-X5YPJV4N.js';
|
|
18
18
|
import '../chunk-O7SG5PC2.js';
|
|
@@ -36,8 +36,8 @@ import '../chunk-6E6PKKAD.js';
|
|
|
36
36
|
import { loadFlow, loadAllFlows } from '../chunk-X46FY45B.js';
|
|
37
37
|
import '../chunk-DEYYRFQU.js';
|
|
38
38
|
import '../chunk-IFGTRL2I.js';
|
|
39
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError } from '../chunk-
|
|
40
|
-
import '../chunk-
|
|
39
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError } from '../chunk-C5RYGUF4.js';
|
|
40
|
+
import '../chunk-2Y4HIITD.js';
|
|
41
41
|
import { readLock, resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, portableSpawn, portableSpawnSync, WorkspaceYamlEditor, checkAgentSkillConformance } from '../chunk-SDAKQCOB.js';
|
|
42
42
|
import { assetSearchDirs, detectDomains } from '../chunk-ZAP2BDHG.js';
|
|
43
43
|
import '../chunk-WBF7JLTY.js';
|
|
@@ -158,7 +158,10 @@ function makeSearchCommand() {
|
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
function makeAddCommand() {
|
|
161
|
-
return new Command("add").description("Add to skaile.yaml + deploy").argument("<ref>", "Asset reference (kind:@<publisher>/name#<version>)").option("--project-dir <path>", "Project directory", process.cwd()).option("--global", "Deploy to global dir (~/.claude)").option("--target <agent>", "Driver target", "claude-code").
|
|
161
|
+
return new Command("add").description("Add to skaile.yaml + deploy").argument("<ref>", "Asset reference (kind:@<publisher>/name#<version>)").option("--project-dir <path>", "Project directory", process.cwd()).option("--global", "Deploy to global dir (~/.claude)").option("--target <agent>", "Driver target", "claude-code").option(
|
|
162
|
+
"--link",
|
|
163
|
+
"symlink local-path assets instead of copying (dev loop; machine-local, not for committing)"
|
|
164
|
+
).action(async (ref, opts) => {
|
|
162
165
|
const am2 = new AssetManager({
|
|
163
166
|
projectDir: path14__default.resolve(opts.projectDir),
|
|
164
167
|
global: opts.global,
|
|
@@ -167,7 +170,7 @@ function makeAddCommand() {
|
|
|
167
170
|
const spinner5 = p6.spinner();
|
|
168
171
|
spinner5.start(`Adding ${ref}`);
|
|
169
172
|
try {
|
|
170
|
-
const added = await am2.add(ref);
|
|
173
|
+
const added = await am2.add(ref, { link: opts.link });
|
|
171
174
|
spinner5.stop("Done");
|
|
172
175
|
if (added.length === 0) {
|
|
173
176
|
const kind = parseAssetRef(ref).kind;
|
|
@@ -4639,7 +4642,10 @@ async function runPointerOnlyInstall(ref, deps) {
|
|
|
4639
4642
|
};
|
|
4640
4643
|
}
|
|
4641
4644
|
function makeInstallCommand() {
|
|
4642
|
-
return new Command("install").description(`Install dependencies from skaile.yaml, or a single asset by ref (${REF_HINT})`).argument("[ref]", `Asset ref to install from the Catalog (${REF_HINT})`).option("--locked", "Install from lock file (CI mode \u2014 fails on drift)").option("--project-dir <path>", "Project directory", process.cwd()).option("--target <agent>", "Agent framework", "claude-code").
|
|
4645
|
+
return new Command("install").description(`Install dependencies from skaile.yaml, or a single asset by ref (${REF_HINT})`).argument("[ref]", `Asset ref to install from the Catalog (${REF_HINT})`).option("--locked", "Install from lock file (CI mode \u2014 fails on drift)").option("--project-dir <path>", "Project directory", process.cwd()).option("--target <agent>", "Agent framework", "claude-code").option(
|
|
4646
|
+
"--link",
|
|
4647
|
+
"symlink local-path assets instead of copying (dev loop; machine-local, not for committing)"
|
|
4648
|
+
).action(runInstallCommand);
|
|
4643
4649
|
}
|
|
4644
4650
|
async function runInstallCommand(ref, opts) {
|
|
4645
4651
|
if (ref !== void 0) {
|
|
@@ -4706,7 +4712,7 @@ async function runYamlInstall(opts) {
|
|
|
4706
4712
|
const spinner5 = p6.spinner();
|
|
4707
4713
|
spinner5.start(opts.locked ? "Installing from lock file" : "Installing dependencies");
|
|
4708
4714
|
try {
|
|
4709
|
-
const result = await am2.install({ locked: opts.locked });
|
|
4715
|
+
const result = await am2.install({ locked: opts.locked, link: opts.link });
|
|
4710
4716
|
spinner5.stop("Done");
|
|
4711
4717
|
if (result.deployed.length > 0) {
|
|
4712
4718
|
for (const d of result.deployed) logOk(d);
|