@netlify/agent-runner-cli 1.136.0 → 1.138.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/dist/bin-local.js +325 -99
- package/dist/bin.js +711 -96
- package/dist/index.d.ts +10 -0
- package/dist/index.js +319 -93
- package/dist/scripts/scaffold.js +1 -0
- package/package.json +3 -1
- package/scripts/smoke-dist.js +142 -0
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ type RunnerConfig = {
|
|
|
39
39
|
agent: string;
|
|
40
40
|
};
|
|
41
41
|
assetMap?: Record<string, string[]>;
|
|
42
|
+
cache?: NativeSessionCacheConfig;
|
|
42
43
|
} & ({
|
|
43
44
|
mode: Exclude<RunnerMode, 'redeploy'>;
|
|
44
45
|
prompt: string;
|
|
@@ -65,6 +66,15 @@ type ModelVersionOverrides = {
|
|
|
65
66
|
gemini?: AgentVersionOverride;
|
|
66
67
|
};
|
|
67
68
|
type AgentVersionOverride = Record<AccountType, string>;
|
|
69
|
+
/**
|
|
70
|
+
* buildbot-provided cache handle: `dir` lives under buildbot's build cache
|
|
71
|
+
* (snapshotted to/from S3), so saving the native session there lets a later
|
|
72
|
+
* fast-init cold start restore it locally instead of fetching from S3.
|
|
73
|
+
*/
|
|
74
|
+
interface NativeSessionCacheConfig {
|
|
75
|
+
dir: string;
|
|
76
|
+
enabled: boolean;
|
|
77
|
+
}
|
|
68
78
|
|
|
69
79
|
interface Context {
|
|
70
80
|
constants: {
|