@alook/cli 0.0.100 → 0.0.102
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/index.js +8 -4
- package/dist/session-runner.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14947,7 +14947,11 @@ var StudioMemberSchema = exports_external.object({
|
|
|
14947
14947
|
description: exports_external.string().optional().default(""),
|
|
14948
14948
|
instructions: exports_external.string().optional().default(""),
|
|
14949
14949
|
avatar_url: exports_external.string().max(2000).nullable().optional(),
|
|
14950
|
-
email_handle: exports_external.string().max(30).optional()
|
|
14950
|
+
email_handle: exports_external.string().max(30).optional(),
|
|
14951
|
+
relationship: exports_external.object({
|
|
14952
|
+
leaderSees: exports_external.string(),
|
|
14953
|
+
memberSees: exports_external.string()
|
|
14954
|
+
}).optional()
|
|
14951
14955
|
});
|
|
14952
14956
|
var CreateStudioRequestSchema = exports_external.object({
|
|
14953
14957
|
name: exports_external.string().max(100).optional(),
|
|
@@ -18916,7 +18920,7 @@ function ensureSymlinks(workDir) {
|
|
|
18916
18920
|
symlinkSync(CANONICAL_FILE, aliasPath);
|
|
18917
18921
|
} catch (err) {
|
|
18918
18922
|
const code = err?.code;
|
|
18919
|
-
if (code === "EPERM" || code === "EACCES") {
|
|
18923
|
+
if (code === "EEXIST") {} else if (code === "EPERM" || code === "EACCES") {
|
|
18920
18924
|
copyFileSync(canonicalPath, aliasPath);
|
|
18921
18925
|
} else {
|
|
18922
18926
|
throw err;
|
|
@@ -20338,7 +20342,7 @@ function runScan() {
|
|
|
20338
20342
|
const prevHash = readCacheHash(globalCachePath(scannerConfig.daemonId, runtime));
|
|
20339
20343
|
if (prevHash !== hash2) {
|
|
20340
20344
|
const skillItems = skills.map((s) => ({ name: s.name, description: s.description }));
|
|
20341
|
-
log8.
|
|
20345
|
+
log8.debug(`Syncing global ${runtime} — ${skills.length} skills`);
|
|
20342
20346
|
const daemonId = scannerConfig.daemonId;
|
|
20343
20347
|
const syncPromises = scannerConfig.workspaces.map((ws) => clientRef.syncSkills(ws.token, {
|
|
20344
20348
|
scope: "global",
|
|
@@ -20364,7 +20368,7 @@ function runScan() {
|
|
|
20364
20368
|
const prevHash = readCacheHash(agentCachePath(target.agentId, target.runtime));
|
|
20365
20369
|
if (prevHash !== hash2) {
|
|
20366
20370
|
const skillItems = skills.map((s) => ({ name: s.name, description: s.description }));
|
|
20367
|
-
log8.
|
|
20371
|
+
log8.debug(`Syncing ${target.agentId}:${target.runtime} — ${skills.length} agent skills`);
|
|
20368
20372
|
clientRef.syncSkills(target.token, {
|
|
20369
20373
|
scope: "agent",
|
|
20370
20374
|
agent_id: target.agentId,
|
package/dist/session-runner.js
CHANGED
|
@@ -14814,7 +14814,11 @@ var StudioMemberSchema = exports_external.object({
|
|
|
14814
14814
|
description: exports_external.string().optional().default(""),
|
|
14815
14815
|
instructions: exports_external.string().optional().default(""),
|
|
14816
14816
|
avatar_url: exports_external.string().max(2000).nullable().optional(),
|
|
14817
|
-
email_handle: exports_external.string().max(30).optional()
|
|
14817
|
+
email_handle: exports_external.string().max(30).optional(),
|
|
14818
|
+
relationship: exports_external.object({
|
|
14819
|
+
leaderSees: exports_external.string(),
|
|
14820
|
+
memberSees: exports_external.string()
|
|
14821
|
+
}).optional()
|
|
14818
14822
|
});
|
|
14819
14823
|
var CreateStudioRequestSchema = exports_external.object({
|
|
14820
14824
|
name: exports_external.string().max(100).optional(),
|
|
@@ -18254,7 +18258,7 @@ function ensureSymlinks(workDir) {
|
|
|
18254
18258
|
symlinkSync(CANONICAL_FILE, aliasPath);
|
|
18255
18259
|
} catch (err) {
|
|
18256
18260
|
const code = err?.code;
|
|
18257
|
-
if (code === "EPERM" || code === "EACCES") {
|
|
18261
|
+
if (code === "EEXIST") {} else if (code === "EPERM" || code === "EACCES") {
|
|
18258
18262
|
copyFileSync(canonicalPath, aliasPath);
|
|
18259
18263
|
} else {
|
|
18260
18264
|
throw err;
|