@everfur/cli 0.8.0 → 0.9.1

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.
@@ -1,2 +1 @@
1
-
2
- export { }
1
+ /*! @everfur/cli. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
@@ -1,8 +1,9 @@
1
1
  #!/usr/bin/env node
2
- import { loadHostedMcpConfig, startHostedMcpServer } from './chunk-4Q2SPVPA.js';
3
- import './chunk-AEY522A6.js';
4
- import './chunk-EDURPYNG.js';
5
- import { CLI_VERSION } from './chunk-WPEB2AVZ.js';
2
+ /*! @everfur/cli. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
3
+ import { loadHostedMcpConfig, startHostedMcpServer } from './chunk-FWEDPKKK.js';
4
+ import './chunk-JURZYOMH.js';
5
+ import './chunk-FLW4ZANY.js';
6
+ import { CLI_VERSION } from './chunk-VUXILRME.js';
6
7
 
7
8
  // src/bin/everfur-mcp-hosted.ts
8
9
  async function main() {
@@ -1,2 +1 @@
1
-
2
- export { }
1
+ /*! @everfur/cli. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { startRemoteMcpServer, loadRemoteMcpConfig } from './chunk-AEY522A6.js';
3
- import './chunk-EDURPYNG.js';
4
- import { CLI_VERSION } from './chunk-WPEB2AVZ.js';
2
+ /*! @everfur/cli. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
3
+ import { startRemoteMcpServer, loadRemoteMcpConfig } from './chunk-JURZYOMH.js';
4
+ import './chunk-FLW4ZANY.js';
5
+ import { CLI_VERSION } from './chunk-VUXILRME.js';
5
6
 
6
7
  // src/bin/everfur-mcp-http.ts
7
8
  async function main() {
@@ -1,2 +1 @@
1
-
2
- export { }
1
+ /*! @everfur/cli. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
@@ -1,13 +1,20 @@
1
1
  #!/usr/bin/env node
2
- import { runStdioServer } from './chunk-EDURPYNG.js';
3
- import { CLI_VERSION } from './chunk-WPEB2AVZ.js';
2
+ /*! @everfur/cli. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
3
+ import { runStdioServer } from './chunk-FLW4ZANY.js';
4
+ import { CLI_VERSION } from './chunk-VUXILRME.js';
4
5
 
5
6
  // src/bin/everfur-mcp.ts
6
7
  if (process.argv.slice(2).includes("--version")) {
7
8
  process.stdout.write(`${CLI_VERSION}
8
9
  `);
9
10
  } else {
10
- runStdioServer(process.env).catch((error) => {
11
+ runStdioServer(process.env, {
12
+ cwd: process.cwd(),
13
+ stderr: (line) => {
14
+ process.stderr.write(`${line}
15
+ `);
16
+ }
17
+ }).catch((error) => {
11
18
  process.stderr.write(`everfur-mcp: ${error instanceof Error ? error.message : String(error)}
12
19
  `);
13
20
  process.exit(1);
package/dist/everfur.d.ts CHANGED
@@ -1,2 +1 @@
1
-
2
- export { }
1
+ /*! @everfur/cli. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
package/dist/everfur.js CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { runCli } from './chunk-U4Q4OAVK.js';
3
- import { ExitCode, systemClock, fetchTransport, CLI_VERSION, nodeFileSystem, nodeContractCache } from './chunk-WPEB2AVZ.js';
2
+ /*! @everfur/cli. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
3
+ import { runCli } from './chunk-LALDS2WR.js';
4
+ import { ExitCode, systemClock, fetchTransport, CLI_VERSION, nodeFileSystem, nodeContractCache } from './chunk-VUXILRME.js';
4
5
 
5
6
  // src/bin/everfur.ts
6
7
  async function main() {
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /*! @everfur/cli. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
1
2
  /**
2
3
  * CREDENTIAL RESOLUTION, and the rules that make "the CLI never prints a secret" a structural
3
4
  * property rather than a promise.
@@ -149,8 +150,11 @@ interface FileSystemPort {
149
150
  * a `CommandOutcome`: it holds the credential headers, and an outcome is a thing the formatter
150
151
  * prints. Failures carry the method, the path, and the request id, never the request object.
151
152
  */
152
- /** OPTIONS is sent only by the web checks' CORS preflight, directly through a transport, never retried. */
153
- type HttpMethod = 'GET' | 'POST' | 'DELETE' | 'OPTIONS';
153
+ /**
154
+ * OPTIONS is sent only by the web checks' CORS preflight, directly through a transport, never retried. PUT is sent only
155
+ * by the claims mapping save tool (PUT /partners/sandbox/claims-inbound/mapping/draft), never retried.
156
+ */
157
+ type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'OPTIONS';
154
158
  /** Methods that may be retried. A retry of anything else could mint a second credential. */
155
159
  declare const IDEMPOTENT_METHODS: readonly HttpMethod[];
156
160
  interface HttpRequest {
@@ -3252,7 +3256,7 @@ interface PlanCode {
3252
3256
  /** Suggested path, relative to the project root. */
3253
3257
  readonly path: string;
3254
3258
  /** For syntax highlighting and for an agent deciding how to write it. */
3255
- readonly language: 'tsx' | 'ts' | 'dart' | 'html' | 'liquid' | 'dotenv' | 'json' | 'gitignore';
3259
+ readonly language: 'tsx' | 'ts' | 'dart' | 'html' | 'liquid' | 'dotenv' | 'json' | 'gitignore' | 'python';
3256
3260
  readonly contents: string;
3257
3261
  }
3258
3262
 
@@ -3647,6 +3651,6 @@ declare function parseSuppliedFacts(capabilitiesRaw: string | null, identityRaw:
3647
3651
  * install, and a bundled artifact. `tests/unit/version.test.ts` asserts this constant equals
3648
3652
  * the package.json version, so the two cannot drift.
3649
3653
  */
3650
- declare const CLI_VERSION = "0.8.0";
3654
+ declare const CLI_VERSION = "0.9.1";
3651
3655
 
3652
3656
  export { ADMIN_TOKEN, API_PREFIX, type ApiClient, type ApiFailure, type ApiResult, type ApiSuccess, BASE_URL_ENV_VAR, type BlockedCapability, type BlockedOutcome, CLI_VERSION, COMMANDS, CREDENTIAL_SPECS, type Capability, type CapabilityDiagnosis, type ClockPort, type Command, type CommandContext, type CommandOutcome, type ContractValidationOutcome, type Credential, type CredentialSpec, DEFAULT_TIMEOUT_MS, type DecisionSpace, type DecisionSpaceProvenance, type DecisionTree, type DetectedDependency, type DetectedTheme, type Diagnosis, EMPTY_REGISTRY, ERRORS_DOCUMENT_KEY, type ErrorRegistry, type ErrorRegistryEntry, ExitCode, type FileSystemPort, type FormatOptions, type FormattedOutput, type HttpMethod, type HttpRequest, type HttpResponse, IDEMPOTENT_METHODS, type IdentityMode, MISSING_FACT_NAMES, type MissingFact, type MissingFactName, type Outcome, PARTNER_KEY, PARTNER_SECRET_KEY, PLAN_DOCUMENT_KIND, PLAN_SCHEMA_VERSION, type PackageManager, type PlanDocument, type PlanInput, type PlanPrinciple, type PlanStep, type PlanWarning, type PositionalSpec, type ProjectDetection, type ProjectType, REASON_CODES, REDACTED, type ReasonCode, type RegistryLoad, type RequestSpec, type ResolvedCredential, type ResolvedEndpoint, type RunOptions, SCHEMAS, SESSION_TOKEN, type SandboxCreateStatus, type SandboxCreation, type SchemaValidation, type SchemaViolation, type SessionMintLanguage, type StepResult, THEME_TOKEN_ORDER, type TerminalOutcome, type ThemeConfidence, type ThemeDetection, type ThemeEvidence, type ThemeSource, type ThemeToken, TransportError, type TransportPort, type TreeOption, type TreeQuestion, type Verification, type VerifyStep, type WalkResult, apiUrl, buildDecisionSpace, buildDiagnosisDocument, buildExplanationDocument, buildSandboxDocument, buildVerificationDocument, clampTimeout, createApiClient, createMemoryFileSystem, createRecordingClock, describeFailure, detectProject, detectTheme, detectThemeFromText, digestOfProjection, digestsEqual, editDistance, entryFromRow, ephemeralCredential, errorCodeOf, failureDetails, failureOutcome, fetchTransport, formatOutcome, isCorrelatableRequestId, isIdempotent, isKnownReasonCode, loadDecisionSpace, loadErrorRegistry, matchCommand, missingFactsFor, nextActionFor as nextActionForErrorCode, nextActionFor$1 as nextActionForReason, nextActionsFor, nodeFileSystem, parseCapabilities, parseDiagnostics, parseIdentityMode, parseSessionMintLanguage, parseSuppliedFacts, planIntegration, projectSandboxCreate, renderDiagnosis, renderExplanation, renderPlan, renderSandboxCreate, renderVerification, resolveContractPath, resolveCredential, resolveEndpoint, runCli, runVerification, suggestCodes, systemClock, validateContractFile, validateContractPublicEnvelope, validateDiagnosisDocument, validateErrorExplanationDocument, validatePlanDocument, validateSandboxCreateDocument, validateVerificationDocument, verifyDigest, walkSingle, walkTree, withPrefix };
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  #!/usr/bin/env node
2
- export { COMMANDS, buildSandboxDocument, buildVerificationDocument, failureOutcome, formatOutcome, matchCommand, nextActionsFor, parseCapabilities, parseIdentityMode, parseSessionMintLanguage, parseSuppliedFacts, projectSandboxCreate, renderDiagnosis, renderPlan, renderSandboxCreate, renderVerification, runCli } from './chunk-U4Q4OAVK.js';
3
- export { ADMIN_TOKEN, API_PREFIX, BASE_URL_ENV_VAR, CLI_VERSION, CREDENTIAL_SPECS, DEFAULT_TIMEOUT_MS, EMPTY_REGISTRY, ERRORS_DOCUMENT_KEY, ExitCode, IDEMPOTENT_METHODS, MISSING_FACT_NAMES, PARTNER_KEY, PARTNER_SECRET_KEY, PLAN_DOCUMENT_KIND, PLAN_SCHEMA_VERSION, REASON_CODES, REDACTED, SCHEMAS, SESSION_TOKEN, THEME_TOKEN_ORDER, TransportError, apiUrl, buildDecisionSpace, buildDiagnosisDocument, buildExplanationDocument, clampTimeout, createApiClient, createMemoryFileSystem, createRecordingClock, describeFailure, detectProject, detectTheme, detectThemeFromText, digestOfProjection, digestsEqual, editDistance, entryFromRow, ephemeralCredential, errorCodeOf, failureDetails, fetchTransport, isCorrelatableRequestId, isIdempotent, isKnownReasonCode, loadDecisionSpace, loadErrorRegistry, missingFactsFor, nextActionFor2 as nextActionForErrorCode, nextActionFor as nextActionForReason, nodeFileSystem, parseDiagnostics, planIntegration, renderExplanation, resolveContractPath, resolveCredential, resolveEndpoint, runVerification, suggestCodes, systemClock, validateContractFile, validateContractPublicEnvelope, validateDiagnosisDocument, validateErrorExplanationDocument, validatePlanDocument, validateSandboxCreateDocument, validateVerificationDocument, verifyDigest, walkSingle, walkTree, withPrefix } from './chunk-WPEB2AVZ.js';
2
+ /*! @everfur/cli. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
3
+ export { COMMANDS, buildSandboxDocument, buildVerificationDocument, failureOutcome, formatOutcome, matchCommand, nextActionsFor, parseCapabilities, parseIdentityMode, parseSessionMintLanguage, parseSuppliedFacts, projectSandboxCreate, renderDiagnosis, renderPlan, renderSandboxCreate, renderVerification, runCli } from './chunk-LALDS2WR.js';
4
+ export { ADMIN_TOKEN, API_PREFIX, BASE_URL_ENV_VAR, CLI_VERSION, CREDENTIAL_SPECS, DEFAULT_TIMEOUT_MS, EMPTY_REGISTRY, ERRORS_DOCUMENT_KEY, ExitCode, IDEMPOTENT_METHODS, MISSING_FACT_NAMES, PARTNER_KEY, PARTNER_SECRET_KEY, PLAN_DOCUMENT_KIND, PLAN_SCHEMA_VERSION, REASON_CODES, REDACTED, SCHEMAS, SESSION_TOKEN, THEME_TOKEN_ORDER, TransportError, apiUrl, buildDecisionSpace, buildDiagnosisDocument, buildExplanationDocument, clampTimeout, createApiClient, createMemoryFileSystem, createRecordingClock, describeFailure, detectProject, detectTheme, detectThemeFromText, digestOfProjection, digestsEqual, editDistance, entryFromRow, ephemeralCredential, errorCodeOf, failureDetails, fetchTransport, isCorrelatableRequestId, isIdempotent, isKnownReasonCode, loadDecisionSpace, loadErrorRegistry, missingFactsFor, nextActionFor2 as nextActionForErrorCode, nextActionFor as nextActionForReason, nodeFileSystem, parseDiagnostics, planIntegration, renderExplanation, resolveContractPath, resolveCredential, resolveEndpoint, runVerification, suggestCodes, systemClock, validateContractFile, validateContractPublicEnvelope, validateDiagnosisDocument, validateErrorExplanationDocument, validatePlanDocument, validateSandboxCreateDocument, validateVerificationDocument, verifyDigest, walkSingle, walkTree, withPrefix } from './chunk-VUXILRME.js';
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@everfur/cli",
3
- "version": "0.8.0",
3
+ "version": "0.9.1",
4
4
  "description": "Everfur CLI: plan, verify, and diagnose an Everfur pet-health integration from the terminal.",
5
- "license": "MIT",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
7
7
  "sideEffects": false,
8
8
  "bin": {
@@ -15,7 +15,11 @@
15
15
  "dist",
16
16
  "!dist/**/*.map",
17
17
  "!dist/everfur-mcp-container.*",
18
- "schema"
18
+ "!dist/metafile-*.json",
19
+ "schema",
20
+ "LICENSE.md",
21
+ "SDK-LICENSE.txt",
22
+ "THIRD-PARTY-NOTICES.md"
19
23
  ],
20
24
  "publishConfig": {
21
25
  "access": "public"
@@ -35,7 +39,7 @@
35
39
  "./schema/error-explanation.v1.schema.json": "./schema/error-explanation.v1.schema.json"
36
40
  },
37
41
  "scripts": {
38
- "build": "tsup && node scripts/strip-sourcemap-pragma.mjs",
42
+ "build": "tsup && node scripts/strip-sourcemap-pragma.mjs && node scripts/build-third-party-notices.mjs --package cli",
39
43
  "clean": "rm -rf dist coverage",
40
44
  "typecheck": "tsc --noEmit",
41
45
  "lint": "eslint .",
@@ -71,7 +75,7 @@
71
75
  "type": "git",
72
76
  "url": "git+https://github.com/Everfur-Health/everfur-cli.git"
73
77
  },
74
- "homepage": "https://everfur.com/partners",
78
+ "homepage": "https://docs.everfur.com",
75
79
  "bugs": {
76
80
  "email": "support@everfur.com"
77
81
  },
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Everfur Health, Inc.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.