@elevasis/sdk 0.5.17 → 0.5.18

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/cli.cjs CHANGED
@@ -40166,6 +40166,7 @@ var DOMAIN_MAP = {
40166
40166
 
40167
40167
  // ../core/src/platform/registry/reserved.ts
40168
40168
  var RESERVED_RESOURCE_IDS = /* @__PURE__ */ new Set(["command-center-assistant"]);
40169
+ var SYSTEM_RESOURCE_IDS = Array.from(RESERVED_RESOURCE_IDS);
40169
40170
  function isReservedResourceId(resourceId) {
40170
40171
  return RESERVED_RESOURCE_IDS.has(resourceId);
40171
40172
  }
@@ -43864,7 +43865,7 @@ async function apiDelete(endpoint, apiUrl = resolveApiUrl()) {
43864
43865
  // package.json
43865
43866
  var package_default = {
43866
43867
  name: "@elevasis/sdk",
43867
- version: "0.5.17",
43868
+ version: "0.5.18",
43868
43869
  description: "SDK for building Elevasis organization resources",
43869
43870
  type: "module",
43870
43871
  bin: {
@@ -43930,6 +43931,7 @@ var SDK_VERSION = package_default.version;
43930
43931
 
43931
43932
  // src/cli/commands/deploy.ts
43932
43933
  var import_meta = {};
43934
+ var IGNORED_DOC_DIRS = /* @__PURE__ */ new Set([".archive"]);
43933
43935
  async function scanDocumentation() {
43934
43936
  const docsDir = (0, import_path.resolve)("docs");
43935
43937
  const files = [];
@@ -43945,6 +43947,7 @@ async function scanDocumentation() {
43945
43947
  const fullPath = (0, import_path.resolve)(dir, entry.name);
43946
43948
  const relPath = relPrefix ? `${relPrefix}/${entry.name}` : entry.name;
43947
43949
  if (entry.isDirectory()) {
43950
+ if (IGNORED_DOC_DIRS.has(entry.name)) continue;
43948
43951
  await scan(fullPath, relPath);
43949
43952
  } else if (entry.isFile() && entry.name.endsWith(".mdx")) {
43950
43953
  const raw = await (0, import_promises.readFile)(fullPath, "utf-8");
@@ -44140,6 +44143,7 @@ async function generateProjectMap(org) {
44140
44143
  for (const entry of entries) {
44141
44144
  const relPath = relPrefix ? `${relPrefix}/${entry.name}` : entry.name;
44142
44145
  if (entry.isDirectory()) {
44146
+ if (IGNORED_DOC_DIRS.has(entry.name)) continue;
44143
44147
  await scanDocsDir((0, import_path.resolve)(dir, entry.name), relPath);
44144
44148
  } else if (entry.isFile() && entry.name.endsWith(".mdx") && relPath !== "project-map.mdx" && relPath !== "resource-map.mdx") {
44145
44149
  try {
package/dist/index.js CHANGED
@@ -144,6 +144,7 @@ var DOMAIN_MAP = {
144
144
 
145
145
  // ../core/src/platform/registry/reserved.ts
146
146
  var RESERVED_RESOURCE_IDS = /* @__PURE__ */ new Set(["command-center-assistant"]);
147
+ Array.from(RESERVED_RESOURCE_IDS);
147
148
  function isReservedResourceId(resourceId) {
148
149
  return RESERVED_RESOURCE_IDS.has(resourceId);
149
150
  }
@@ -2282,7 +2282,9 @@ ${actionsList}
2282
2282
  - Batch independent tool calls in one iteration (faster execution)
2283
2283
  - Dependent operations need separate iterations (tool B needs tool A's result)
2284
2284
  - "complete" cannot mix with tool-call${includeNavigateKnowledge ? "/navigate-knowledge" : ""}${includeMessageAction ? `
2285
- - Always send at least one message before completing` : ""}
2285
+ - Always send at least one message before completing
2286
+ - When you have your answer, send message + complete in the SAME iteration. Never send a message alone then complete in a later iteration.
2287
+ - Never repeat or rephrase the same answer across iterations. One clear answer, then complete.` : ""}
2286
2288
 
2287
2289
  **Use "complete" when:**
2288
2290
  - Task finished successfully
@@ -2421,8 +2423,8 @@ function buildToolsPrompt(tools) {
2421
2423
  section += "To call a tool, return a tool-call action:\n";
2422
2424
  section += '{\n "type": "tool-call",\n "id": "unique-id",\n "name": "tool-name",\n "input": { /* tool input matching schema */ }\n}\n\n';
2423
2425
  section += "**IMPORTANT RULES:**\n";
2424
- section += '1. The "complete" action MUST be the ONLY action in nextActions when you want to finish\n';
2425
- section += "2. You CANNOT return tool-call or navigate-knowledge actions AND a complete action in the same response\n";
2426
+ section += '1. "complete" CANNOT mix with tool-call or navigate-knowledge actions in the same response\n';
2427
+ section += '2. "complete" CAN mix with message \u2014 always pair your final message with complete in the same iteration\n';
2426
2428
  section += "3. To use tools, return ONLY tool-call actions, then wait for results in the next iteration\n";
2427
2429
  section += "4. After receiving tool results, you can either call more tools OR complete with final answer\n";
2428
2430
  section += "5. navigate-knowledge actions load new capabilities - tools become available in the next iteration\n";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "0.5.17",
3
+ "version": "0.5.18",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "type": "module",
6
6
  "bin": {