@epilot/cli 0.1.54 → 0.1.56

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.
@@ -742,19 +742,14 @@
742
742
  },
743
743
  "RestoreSnapshotRequest": {
744
744
  "type": "object",
745
- "description": "Apply a captured snapshot to its source org. All filters default to the\nopen setting (apply everything), which keeps Config Hub's manual-restore\nsemantics unchanged.\n",
745
+ "description": "Apply a captured snapshot to its source org. snapshot-api applies the\nmanifest verbatim minus any target ids the caller pre-decided to skip.\nDrift detection (skip modified-since-install) is the caller's\nresponsibility — blueprint-manifest-api owns that logic for blueprint\nrestores; Config Hub's manual restore just omits the field.\n",
746
746
  "properties": {
747
- "preserve_modified": {
748
- "type": "boolean",
749
- "default": false,
750
- "description": "When `true`, skip captured resources whose live payload's content\nfingerprint diverges from the capture-time fingerprint stored on\nthe manifest entry. snapshot-api fetches the live payload and\nhashes it itself; no cross-service lookup. Surfaces under\n`Operation.skipped` with `reason: 'modified'`. Legacy snapshots\ncaptured before fingerprints were stored fail open (applied).\n"
751
- },
752
747
  "exclude_target_ids": {
753
748
  "type": "array",
754
749
  "items": {
755
750
  "type": "string"
756
751
  },
757
- "description": "Target ids the caller has decided not to restore. snapshot-api\napplies the manifest minus these ids. Drops are silent — not\nechoed in `Operation.skipped` — because the caller supplied the\nlist and already knows.\n"
752
+ "description": "Target ids the caller has decided not to restore. snapshot-api\napplies the manifest minus these ids. Drops are silent — the\ncaller supplied the list and already knows.\n"
758
753
  }
759
754
  }
760
755
  },
@@ -908,39 +903,13 @@
908
903
  "partial",
909
904
  "failed"
910
905
  ],
911
- "description": "`partial` indicates the operation completed but snapshot-api\nskipped at least one captured resource via its own drift check\n(see `skipped`).\n"
906
+ "description": "`partial` indicates `engine.apply` reported a partial success\n(one or more resources failed individually) but the operation\nas a whole did not fail.\n"
912
907
  },
913
908
  "error": {
914
909
  "type": "string"
915
910
  },
916
911
  "triggered_by": {
917
912
  "$ref": "#/components/schemas/CallerIdentity"
918
- },
919
- "skipped": {
920
- "type": "array",
921
- "description": "Captured resources snapshot-api elected to skip — currently\nonly drift detections (`preserve_modified: true`). Caller-\nsupplied `exclude_target_ids` skips are NOT echoed here; the\ncaller built the list, the caller knows.\n",
922
- "items": {
923
- "$ref": "#/components/schemas/SkippedResource"
924
- }
925
- }
926
- }
927
- },
928
- "SkippedResource": {
929
- "type": "object",
930
- "required": [
931
- "target_id",
932
- "reason"
933
- ],
934
- "properties": {
935
- "target_id": {
936
- "type": "string"
937
- },
938
- "reason": {
939
- "type": "string",
940
- "enum": [
941
- "modified"
942
- ],
943
- "description": "- `modified` — live destination payload's content fingerprint\n differs from the capture-time fingerprint stored on the\n manifest entry. Only set when the restore was requested with\n `preserve_modified: true`.\n"
944
913
  }
945
914
  }
946
915
  },
@@ -10,7 +10,7 @@ import "./chunk-7ZQ666ZQ.js";
10
10
  // src/commands/apis/ai-agents.ts
11
11
  import { defineCommand } from "citty";
12
12
  var ai_agents_default = defineCommand({
13
- meta: { name: "ai-agents", description: "AI Agents API - OpenAPI 3.0" },
13
+ meta: { name: "ai-agents", description: "AI Agents API" },
14
14
  args: {
15
15
  operation: { type: "positional", description: "operationId to call", required: false },
16
16
  param: { type: "string", alias: "p", description: "Parameter key=value" },
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "../chunk-44NTPQBR.js";
4
+ } from "../chunk-SODHUMYQ.js";
5
5
 
6
6
  // bin/epilot.ts
7
7
  import { runMain } from "citty";
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
11
11
  var main = defineCommand({
12
12
  meta: {
13
13
  name: "epilot",
14
- version: "0.1.54",
14
+ version: "0.1.56",
15
15
  description: "CLI for epilot APIs"
16
16
  },
17
17
  args: {
@@ -30,12 +30,12 @@ var main = defineCommand({
30
30
  auth: () => import("../auth-CN5EFFDE.js").then((m) => m.default),
31
31
  profile: () => import("../profile-OZJL5ZPT.js").then((m) => m.default),
32
32
  config: () => import("../config-DGZIMLZK.js").then((m) => m.default),
33
- completion: () => import("../completion-4HOIJNFX.js").then((m) => m.default),
34
- upgrade: () => import("../upgrade-BUHUA47K.js").then((m) => m.default),
33
+ completion: () => import("../completion-YKNRP3BS.js").then((m) => m.default),
34
+ upgrade: () => import("../upgrade-KITITKDI.js").then((m) => m.default),
35
35
  "access-token": () => import("../access-token-WWE6BDJH.js").then((m) => m.default),
36
36
  address: () => import("../address-EH3C4CVB.js").then((m) => m.default),
37
37
  "address-suggestions": () => import("../address-suggestions-RRSLOBFW.js").then((m) => m.default),
38
- "ai-agents": () => import("../ai-agents-HEDTH2EP.js").then((m) => m.default),
38
+ "ai-agents": () => import("../ai-agents-53M2KHPI.js").then((m) => m.default),
39
39
  app: () => import("../app-EULJIEDB.js").then((m) => m.default),
40
40
  "audit-logs": () => import("../audit-logs-YFRK3EFU.js").then((m) => m.default),
41
41
  automation: () => import("../automation-4DEE3TUI.js").then((m) => m.default),
@@ -134,13 +134,13 @@ process.stderr.on("error", (err) => {
134
134
  if (err.code === "EPIPE") process.exit(0);
135
135
  throw err;
136
136
  });
137
- var VERSION = true ? "0.1.54" : (await null).default.version;
137
+ var VERSION = true ? "0.1.56" : (await null).default.version;
138
138
  var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
139
139
  process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
140
140
  var args = process.argv.slice(2);
141
141
  var completionsIdx = args.indexOf("--_completions");
142
142
  if (completionsIdx >= 0) {
143
- const { handleCompletions } = await import("../completion-4HOIJNFX.js");
143
+ const { handleCompletions } = await import("../completion-YKNRP3BS.js");
144
144
  handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
145
145
  process.exit(0);
146
146
  }
@@ -39,9 +39,9 @@ var API_LIST = [
39
39
  {
40
40
  apiName: "aiAgents",
41
41
  kebabName: "ai-agents",
42
- title: "AI Agents API - OpenAPI 3.0",
42
+ title: "AI Agents API",
43
43
  serverUrl: "https://ai-agents.sls.epilot.io",
44
- operationCount: 12,
44
+ operationCount: 19,
45
45
  operationIds: [
46
46
  "listAgents",
47
47
  "createAgent",
@@ -49,12 +49,19 @@ var API_LIST = [
49
49
  "updateAgentById",
50
50
  "deleteAgentById",
51
51
  "executeAgent",
52
+ "executeAgentStream",
52
53
  "listExecutions",
53
54
  "getExecution",
54
55
  "cancelExecution",
55
56
  "getExecutionTrace",
56
57
  "approveExecution",
57
- "rejectExecution"
58
+ "rejectExecution",
59
+ "streamExecution",
60
+ "chat",
61
+ "listConversations",
62
+ "getConversation",
63
+ "deleteConversation",
64
+ "submitConversationFeedback"
58
65
  ]
59
66
  },
60
67
  {
@@ -753,7 +760,7 @@ var API_LIST = [
753
760
  kebabName: "integration-toolkit",
754
761
  title: "Integration Toolkit API",
755
762
  serverUrl: "https://integration-toolkit.sls.epilot.io",
756
- operationCount: 51,
763
+ operationCount: 53,
757
764
  operationIds: [
758
765
  "acknowledgeTracking",
759
766
  "triggerErp",
@@ -780,6 +787,8 @@ var API_LIST = [
780
787
  "getIntegrationV2",
781
788
  "updateIntegrationV2",
782
789
  "deleteIntegrationV2",
790
+ "listNotificationHistory",
791
+ "testSendNotification",
783
792
  "getSecureProxyWhitelist",
784
793
  "updateSecureProxyWhitelist",
785
794
  "listSecureProxyWhitelistHistory",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "./chunk-44NTPQBR.js";
4
+ } from "./chunk-SODHUMYQ.js";
5
5
  import {
6
6
  DIM,
7
7
  GREEN,
@@ -72,7 +72,7 @@ ${GREEN}${BOLD}Upgraded to @epilot/cli@${latest}${RESET}
72
72
  }
73
73
  });
74
74
  var getCurrentVersion = () => {
75
- if (true) return "0.1.54";
75
+ if (true) return "0.1.56";
76
76
  try {
77
77
  const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
78
78
  encoding: "utf-8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/cli",
3
- "version": "0.1.54",
3
+ "version": "0.1.56",
4
4
  "description": "CLI for epilot APIs",
5
5
  "type": "module",
6
6
  "bin": {