pi-fabric 0.92.7 → 0.92.9
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/agents/transports/process-utils.d.ts +5 -1
- package/dist/agents/transports/process-utils.d.ts.map +1 -1
- package/dist/chunks/{chunk-K3H4J424.js → chunk-6IFKG3XW.js} +18 -17
- package/dist/chunks/{chunk-K3H4J424.js.map → chunk-6IFKG3XW.js.map} +2 -2
- package/dist/chunks/{chunk-HTKYFUKU.js → chunk-6JXOWBFU.js} +5 -1
- package/dist/chunks/chunk-6JXOWBFU.js.map +7 -0
- package/dist/chunks/{chunk-OKDKF6L5.js → chunk-RBJCUU6I.js} +272 -12
- package/dist/chunks/chunk-RBJCUU6I.js.map +7 -0
- package/dist/chunks/{chunk-YHDRJ7XJ.js → chunk-TNPFEDWD.js} +3 -3
- package/dist/chunks/{chunk-5TYEQJHW.js → chunk-UNN5OJQB.js} +3 -3
- package/dist/chunks/{chunk-QWIKS6CT.js → chunk-X7G62ZGH.js} +26 -4
- package/dist/chunks/chunk-X7G62ZGH.js.map +7 -0
- package/dist/chunks/{chunk-V7RXK6MR.js → chunk-XXIGW2NG.js} +2 -2
- package/dist/chunks/{chunk-PNYN5RON.js → chunk-YU4O6SWQ.js} +12 -5
- package/dist/chunks/chunk-YU4O6SWQ.js.map +7 -0
- package/dist/chunks/{chunk-M46MPFGN.js → chunk-YVPUATQT.js} +2 -2
- package/dist/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/core/pi-arguments.d.ts.map +1 -1
- package/dist/core/shell-jobs.d.ts +99 -0
- package/dist/core/shell-jobs.d.ts.map +1 -0
- package/dist/fabric-runtime-state.d.ts +2 -0
- package/dist/fabric-runtime-state.d.ts.map +1 -1
- package/dist/fabric-runtime-state.js +144 -23
- package/dist/fabric-runtime-state.js.map +3 -3
- package/dist/fabric-state.d.ts +1 -0
- package/dist/fabric-state.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +75 -4
- package/dist/index.js.map +3 -3
- package/dist/providers/pi-tools-provider.d.ts +5 -0
- package/dist/providers/pi-tools-provider.d.ts.map +1 -1
- package/dist/residency/host.js +4 -4
- package/dist/residency/pi-entry.js +4 -4
- package/dist/runtime/core-override-guest-types.js +2 -2
- package/dist/runtime/cpython-child-source.d.ts.map +1 -1
- package/dist/runtime/cpython-runtime.js +2 -0
- package/dist/runtime/cpython-runtime.js.map +2 -2
- package/dist/runtime/guest-types.d.ts +1 -1
- package/dist/runtime/guest-types.d.ts.map +1 -1
- package/dist/runtime/guest-types.js +1 -1
- package/dist/runtime/monty-runtime.d.ts.map +1 -1
- package/dist/runtime/monty-runtime.js +4 -1
- package/dist/runtime/monty-runtime.js.map +2 -2
- package/dist/runtime/node-process-runtime.js +4 -4
- package/dist/runtime/quickjs-runtime.js +2 -2
- package/dist/runtime/typescript-kernel.js +6 -6
- package/dist/runtime-state-builtins.d.ts +5 -1
- package/dist/runtime-state-builtins.d.ts.map +1 -1
- package/dist/topology/participant-directory.d.ts.map +1 -1
- package/dist/type-error-guidance.d.ts.map +1 -1
- package/dist/ui/settings-sections-execution.d.ts.map +1 -1
- package/dist/ui/settings-values.d.ts.map +1 -1
- package/dist/ui/settings.js +13 -2
- package/dist/ui/settings.js.map +2 -2
- package/dist/ui/shell-hang-keys.d.ts +11 -0
- package/dist/ui/shell-hang-keys.d.ts.map +1 -0
- package/docs/configuration.md +3 -0
- package/package.json +1 -1
- package/skillsets/python/fabric-exec/SKILL.md +1 -1
- package/skillsets/typescript/fabric-exec/SKILL.md +3 -3
- package/dist/chunks/chunk-HTKYFUKU.js.map +0 -7
- package/dist/chunks/chunk-OKDKF6L5.js.map +0 -7
- package/dist/chunks/chunk-PNYN5RON.js.map +0 -7
- package/dist/chunks/chunk-QWIKS6CT.js.map +0 -7
- /package/dist/chunks/{chunk-YHDRJ7XJ.js.map → chunk-TNPFEDWD.js.map} +0 -0
- /package/dist/chunks/{chunk-5TYEQJHW.js.map → chunk-UNN5OJQB.js.map} +0 -0
- /package/dist/chunks/{chunk-V7RXK6MR.js.map → chunk-XXIGW2NG.js.map} +0 -0
- /package/dist/chunks/{chunk-M46MPFGN.js.map → chunk-YVPUATQT.js.map} +0 -0
|
@@ -6,7 +6,11 @@ export declare const executeFile: (command: string, args: string[], options?: {
|
|
|
6
6
|
cwd?: string;
|
|
7
7
|
timeoutMs?: number;
|
|
8
8
|
}) => Promise<ExecFileResult>;
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* PATH lookup that never shells out: Windows runners reach this code with no
|
|
11
|
+
* `sh` on PATH, and a login shell may rewrite PATH behind the caller's back.
|
|
12
|
+
*/
|
|
13
|
+
export declare const commandAvailable: (command: string, env?: NodeJS.ProcessEnv) => Promise<boolean>;
|
|
10
14
|
export declare const processIsAlive: (pid: number) => boolean;
|
|
11
15
|
export interface ScriptRuntimeOptions {
|
|
12
16
|
execPath?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-utils.d.ts","sourceRoot":"","sources":["../../../src/agents/transports/process-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"process-utils.d.ts","sourceRoot":"","sources":["../../../src/agents/transports/process-utils.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,WAAW,GACtB,SAAS,MAAM,EACf,MAAM,MAAM,EAAE,EACd,UAAS;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAO,KACjD,OAAO,CAAC,cAAc,CAoBrB,CAAC;AA8BL;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAC3B,SAAS,MAAM,EACf,MAAK,MAAM,CAAC,UAAwB,KACnC,OAAO,CAAC,OAAO,CAUjB,CAAC;AAIF,eAAO,MAAM,cAAc,GAAI,KAA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32
|
quarantineDamagedFile
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RBJCUU6I.js";
|
|
34
34
|
import {
|
|
35
35
|
writeFileAtomic,
|
|
36
36
|
writeJsonAtomic
|
|
@@ -6492,20 +6492,6 @@ var ParticipantDirectory = class {
|
|
|
6492
6492
|
this.#localRecords.clear();
|
|
6493
6493
|
for (const [id, record] of desired) this.#localRecords.set(id, record);
|
|
6494
6494
|
if (!this.options.enabled) return;
|
|
6495
|
-
const host = {
|
|
6496
|
-
format: 1,
|
|
6497
|
-
id: this.options.hostId,
|
|
6498
|
-
rootId: this.options.rootId,
|
|
6499
|
-
identity: this.options.identity,
|
|
6500
|
-
startedAt: this.#startedAt,
|
|
6501
|
-
updatedAt: now,
|
|
6502
|
-
expiresAt: now + this.#leaseMs
|
|
6503
|
-
};
|
|
6504
|
-
await this.mesh.put({
|
|
6505
|
-
key: keyFor(HOST_PREFIX, this.options.hostId),
|
|
6506
|
-
value: host,
|
|
6507
|
-
identity: this.options.identity
|
|
6508
|
-
});
|
|
6509
6495
|
const root = [...desired.values()].find(
|
|
6510
6496
|
(participant) => participant.kind === "root" && participant.id === this.options.rootId
|
|
6511
6497
|
);
|
|
@@ -6588,6 +6574,21 @@ var ParticipantDirectory = class {
|
|
|
6588
6574
|
if (desired.has(participant.id)) continue;
|
|
6589
6575
|
await this.mesh.delete({ key: entry.key, ifVersion: entry.version }).catch(() => void 0);
|
|
6590
6576
|
}
|
|
6577
|
+
const leaseAt = Date.now();
|
|
6578
|
+
const host = {
|
|
6579
|
+
format: 1,
|
|
6580
|
+
id: this.options.hostId,
|
|
6581
|
+
rootId: this.options.rootId,
|
|
6582
|
+
identity: this.options.identity,
|
|
6583
|
+
startedAt: this.#startedAt,
|
|
6584
|
+
updatedAt: leaseAt,
|
|
6585
|
+
expiresAt: leaseAt + this.#leaseMs
|
|
6586
|
+
};
|
|
6587
|
+
await this.mesh.put({
|
|
6588
|
+
key: keyFor(HOST_PREFIX, this.options.hostId),
|
|
6589
|
+
value: host,
|
|
6590
|
+
identity: this.options.identity
|
|
6591
|
+
});
|
|
6591
6592
|
}
|
|
6592
6593
|
/**
|
|
6593
6594
|
* Mint missing labels for this host's root participants. Labels persist in
|
|
@@ -6728,4 +6729,4 @@ export {
|
|
|
6728
6729
|
agentParticipantRecords,
|
|
6729
6730
|
actorParticipantRecord
|
|
6730
6731
|
};
|
|
6731
|
-
//# sourceMappingURL=chunk-
|
|
6732
|
+
//# sourceMappingURL=chunk-6IFKG3XW.js.map
|