@bermudi/pi-delegate 0.1.10 → 0.1.12
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/README.md +57 -4
- package/concurrency.ts +55 -16
- package/config.ts +584 -50
- package/delegate.ts +11 -3
- package/dispatch.ts +436 -65
- package/extension.ts +16 -4
- package/format.ts +52 -6
- package/host-cache.ts +70 -0
- package/host.ts +169 -811
- package/isolated-workspace.ts +857 -0
- package/lifecycle.ts +699 -520
- package/manual.ts +4 -7
- package/package.json +1 -1
- package/pi-package-source.ts +293 -0
- package/pool.ts +23 -1
- package/provider-extensions.ts +537 -0
- package/quiescence.ts +262 -0
- package/render-branches.ts +30 -0
- package/render-result.ts +8 -5
- package/runner.ts +35 -141
- package/schema.ts +133 -202
- package/settings.ts +202 -84
- package/shared-write-safety.ts +273 -0
- package/task-resolution.ts +121 -32
- package/telemetry.ts +135 -68
- package/ticket-format.ts +331 -0
- package/tickets.ts +101 -258
- package/tools.ts +12 -0
- package/trusted-paths.ts +71 -0
- package/types.ts +83 -16
package/delegate.ts
CHANGED
|
@@ -5,7 +5,6 @@ export type {
|
|
|
5
5
|
SessionAction,
|
|
6
6
|
WorkspaceMode,
|
|
7
7
|
TicketAction,
|
|
8
|
-
DelegateAction,
|
|
9
8
|
DelegateArguments,
|
|
10
9
|
TaskDef,
|
|
11
10
|
AsyncTicket,
|
|
@@ -41,9 +40,14 @@ export {
|
|
|
41
40
|
getMaxConcurrent,
|
|
42
41
|
getStallTimeoutMs,
|
|
43
42
|
resolveModelSpec,
|
|
43
|
+
getAgentOverrides,
|
|
44
|
+
getAgentOverridesByParentModel,
|
|
45
|
+
reloadDelegateConfig,
|
|
46
|
+
getDelegateConfigSnapshot,
|
|
44
47
|
getOutputSpillThreshold,
|
|
45
48
|
getOutputSpillTail,
|
|
46
49
|
} from "./config.ts";
|
|
50
|
+
export type { AgentOverride } from "./config.ts";
|
|
47
51
|
export {
|
|
48
52
|
checkout,
|
|
49
53
|
commit,
|
|
@@ -72,9 +76,10 @@ export {
|
|
|
72
76
|
notifyWaiters,
|
|
73
77
|
deliverTicketResults,
|
|
74
78
|
resolveFinalTicketStatus,
|
|
79
|
+
settleTicket,
|
|
75
80
|
formatCompletedTicket,
|
|
76
81
|
} from "./tickets.ts";
|
|
77
|
-
export type { TicketDelivery } from "./tickets.ts";
|
|
82
|
+
export type { TicketDelivery, SettleTicketOptions } from "./tickets.ts";
|
|
78
83
|
export {
|
|
79
84
|
recordTreeNavigation,
|
|
80
85
|
getCurrentLeafId,
|
|
@@ -98,6 +103,7 @@ export {
|
|
|
98
103
|
export type { ActiveTicketSummary } from "./status.ts";
|
|
99
104
|
export { getHostDeps, invalidateHostDepsCache } from "./host.ts";
|
|
100
105
|
export type { HostDeps, HostDepsOptions } from "./host.ts";
|
|
106
|
+
export { registerProviderExtensionNotifier } from "./provider-extensions.ts";
|
|
101
107
|
export {
|
|
102
108
|
aggregateTaskResults,
|
|
103
109
|
emptyUsage,
|
|
@@ -141,10 +147,12 @@ export {
|
|
|
141
147
|
} from "./model.ts";
|
|
142
148
|
export {
|
|
143
149
|
readDelegateSettingsFile,
|
|
150
|
+
findLegacyDelegateSettings,
|
|
151
|
+
warnLegacyDelegateSettingsMoved,
|
|
144
152
|
loadDelegateSettings,
|
|
145
153
|
clearDelegateSettingsCache,
|
|
146
154
|
} from "./settings.ts";
|
|
147
|
-
export type {
|
|
155
|
+
export type { DelegateSettings } from "./settings.ts";
|
|
148
156
|
export { resolveCwd, extractOutput, extractUsage } from "./utils.ts";
|
|
149
157
|
export {
|
|
150
158
|
decideSpill,
|