@awak-app/simy-cli 0.7.12 → 0.7.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awak-app/simy-cli",
3
- "version": "0.7.12",
3
+ "version": "0.7.13",
4
4
  "description": "Local SIMY executor for non-coding Local Tasks and Agentic Loop runs.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/agent.js CHANGED
@@ -650,7 +650,9 @@ export async function startAgent({
650
650
  if (!isSessionValid(session, Date.now(), apiOrigin)) throw new Error("Sign in before switching organizations.");
651
651
  if (organizationState !== "ready" || !organizationItems.some(org => org.id === organizationId)) throw new Error("Refresh the organization list before selecting an organization.");
652
652
  const choice = organizationItems.find(org => org.id === organizationId);
653
- if (choice.desktopAccess && choice.desktopAccess !== "ready") throw new Error("This organization does not have SIMY Developer access.");
653
+ // Selecting an authenticated membership is separate from permission to run.
654
+ // The new session still requires a fresh server entitlement before work.
655
+ if (choice.desktopAccess === "unavailable") throw new Error("Refresh organizations before switching; access could not be verified.");
654
656
  organizationSlug = choice.slug;
655
657
  if (!organizationSlug) throw new Error('Refresh organizations before switching; its verified slug is unavailable.');
656
658
  authNonce = randomBytes(16).toString("base64url");
@@ -13,7 +13,7 @@ import {
13
13
  } from "./durable-local-task-steps-contract.js";
14
14
  import { buildExecutionCapabilityContract } from "./execution-capability-contract.js";
15
15
 
16
- export const CLI_VERSION = "0.7.12";
16
+ export const CLI_VERSION = "0.7.13";
17
17
  export const CLI_API_CONTRACT_VERSION = 10;
18
18
 
19
19
  export function narrativeImageCapabilityMetadata() {