replicas-cli 0.3.228 → 0.3.230
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/index.cjs +16 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -523,6 +523,7 @@ var init_services = __esm({
|
|
|
523
523
|
"opencode-go",
|
|
524
524
|
"aster",
|
|
525
525
|
"ollama",
|
|
526
|
+
"anthropic-compatible",
|
|
526
527
|
"openai-compatible",
|
|
527
528
|
"bedrock",
|
|
528
529
|
"claude-foundry",
|
|
@@ -569,6 +570,7 @@ var init_agents = __esm({
|
|
|
569
570
|
CREDENTIAL_METHOD = {
|
|
570
571
|
OAUTH: "oauth",
|
|
571
572
|
API_KEY: "api_key",
|
|
573
|
+
ANTHROPIC_COMPATIBLE: "anthropic-compatible",
|
|
572
574
|
OPENAI_COMPATIBLE: "openai-compatible",
|
|
573
575
|
OLLAMA: "ollama",
|
|
574
576
|
FOUNDRY: "foundry",
|
|
@@ -581,6 +583,7 @@ var init_agents = __esm({
|
|
|
581
583
|
CREDENTIAL_TYPE = {
|
|
582
584
|
CLAUDE_OAUTH: "claude",
|
|
583
585
|
ANTHROPIC_API_KEY: "claude_anthropic_api_key",
|
|
586
|
+
ANTHROPIC_COMPATIBLE: "anthropic_compatible",
|
|
584
587
|
CLAUDE_FOUNDRY: "claude_foundry",
|
|
585
588
|
CLAUDE_BEDROCK: "claude_bedrock",
|
|
586
589
|
CODEX_OAUTH: "codex",
|
|
@@ -607,12 +610,14 @@ var init_agents = __esm({
|
|
|
607
610
|
[CREDENTIAL_METHOD.OPENCODE_GO]: "OpenCode Go",
|
|
608
611
|
[CREDENTIAL_METHOD.ASTER]: "Aster",
|
|
609
612
|
[CREDENTIAL_METHOD.OPENROUTER]: "OpenRouter",
|
|
610
|
-
[CREDENTIAL_METHOD.OPENAI_COMPATIBLE]: "OpenAI-compatible endpoint"
|
|
613
|
+
[CREDENTIAL_METHOD.OPENAI_COMPATIBLE]: "OpenAI-compatible endpoint",
|
|
614
|
+
[CREDENTIAL_METHOD.ANTHROPIC_COMPATIBLE]: "Anthropic-compatible endpoint"
|
|
611
615
|
};
|
|
612
616
|
AGENT_CREDENTIAL_METHODS_IN_ORDER = {
|
|
613
617
|
[AGENT.CLAUDE]: [
|
|
614
618
|
{ method: CREDENTIAL_METHOD.OAUTH, credentialType: CREDENTIAL_TYPE.CLAUDE_OAUTH },
|
|
615
619
|
{ method: CREDENTIAL_METHOD.API_KEY, credentialType: CREDENTIAL_TYPE.ANTHROPIC_API_KEY },
|
|
620
|
+
{ method: CREDENTIAL_METHOD.ANTHROPIC_COMPATIBLE, credentialType: CREDENTIAL_TYPE.ANTHROPIC_COMPATIBLE },
|
|
616
621
|
{ method: CREDENTIAL_METHOD.FOUNDRY, credentialType: CREDENTIAL_TYPE.CLAUDE_FOUNDRY },
|
|
617
622
|
{ method: CREDENTIAL_METHOD.BEDROCK, credentialType: CREDENTIAL_TYPE.CLAUDE_BEDROCK },
|
|
618
623
|
{ method: CREDENTIAL_METHOD.OLLAMA, credentialType: CREDENTIAL_TYPE.OLLAMA }
|
|
@@ -31403,7 +31408,7 @@ var CLI_VERSION;
|
|
|
31403
31408
|
var init_cli_version = __esm({
|
|
31404
31409
|
"../shared/src/cli-version.ts"() {
|
|
31405
31410
|
"use strict";
|
|
31406
|
-
CLI_VERSION = "0.3.
|
|
31411
|
+
CLI_VERSION = "0.3.230";
|
|
31407
31412
|
}
|
|
31408
31413
|
});
|
|
31409
31414
|
|
|
@@ -32292,6 +32297,13 @@ var init_presence = __esm({
|
|
|
32292
32297
|
}
|
|
32293
32298
|
});
|
|
32294
32299
|
|
|
32300
|
+
// ../shared/src/routes/voice.ts
|
|
32301
|
+
var init_voice = __esm({
|
|
32302
|
+
"../shared/src/routes/voice.ts"() {
|
|
32303
|
+
"use strict";
|
|
32304
|
+
}
|
|
32305
|
+
});
|
|
32306
|
+
|
|
32295
32307
|
// ../shared/src/routes/workspace-deferred-messages.ts
|
|
32296
32308
|
var init_workspace_deferred_messages = __esm({
|
|
32297
32309
|
"../shared/src/routes/workspace-deferred-messages.ts"() {
|
|
@@ -32998,6 +33010,7 @@ var init_src = __esm({
|
|
|
32998
33010
|
init_mothership();
|
|
32999
33011
|
init_workspace_events();
|
|
33000
33012
|
init_presence();
|
|
33013
|
+
init_voice();
|
|
33001
33014
|
init_workspace_deferred_messages();
|
|
33002
33015
|
init_workspace_wait();
|
|
33003
33016
|
init_repositories();
|
|
@@ -39346,7 +39359,7 @@ var init_src2 = __esm({
|
|
|
39346
39359
|
credentials = program.command("credentials").description("Manage coding agent API keys and providers (personal by default, --org for the organization)");
|
|
39347
39360
|
credentials.command("list <agent>").description("List connected credentials for an agent (claude, codex, cursor, ...) and which one new workspaces use").action(run(credentialsListCommand));
|
|
39348
39361
|
credentials.command("get <service>").description("Show stored credentials for a service (secrets masked for API keys)").option("-o, --org", "Organization credentials instead of personal").action(run(credentialsGetCommand));
|
|
39349
|
-
credentials.command("set <service>").description(`Store credentials. The API key (AWS secret for bedrock) is prompted for, or read from stdin. Services: ${API_KEY_CREDENTIAL_SERVICES.join(", ")}`).option("-o, --org", "Organization credentials (admins only)").option("--base-url <url>", "Base URL (ollama, openai-compatible, codex-foundry)").option("--models <ids>", "Comma-separated model IDs (ollama)").option("--models-url <url>", "Models endpoint (openai-compatible)").option("--authorization-header <value>", "Authorization header value (openai-compatible)").option("--preserve-authorization-header", "Forward the authorization header unchanged (openai-compatible)").option("--aws-access-key-id <id>", "AWS access key ID (bedrock)").option("--aws-region <region>", "AWS region (bedrock)").option("--small-fast-model-region <region>", "Region for the small fast model (bedrock)").option("--resource <name>", "Azure Foundry resource (claude-foundry)").option("--sonnet-model <id>", "Sonnet deployment (claude-foundry)").option("--haiku-model <id>", "Haiku deployment (claude-foundry)").option("--opus-model <id>", "Opus deployment (claude-foundry)").option("--model <id>", "Model deployment (codex-foundry)").action(run(credentialsSetCommand));
|
|
39362
|
+
credentials.command("set <service>").description(`Store credentials. The API key (AWS secret for bedrock) is prompted for, or read from stdin. Services: ${API_KEY_CREDENTIAL_SERVICES.join(", ")}`).option("-o, --org", "Organization credentials (admins only)").option("--base-url <url>", "Base URL (ollama, anthropic-compatible, openai-compatible, codex-foundry)").option("--models <ids>", "Comma-separated model IDs (ollama)").option("--models-url <url>", "Models endpoint (openai-compatible)").option("--authorization-header <value>", "Authorization header value (openai-compatible)").option("--preserve-authorization-header", "Forward the authorization header unchanged (openai-compatible)").option("--aws-access-key-id <id>", "AWS access key ID (bedrock)").option("--aws-region <region>", "AWS region (bedrock)").option("--small-fast-model-region <region>", "Region for the small fast model (bedrock)").option("--resource <name>", "Azure Foundry resource (claude-foundry)").option("--sonnet-model <id>", "Sonnet deployment (claude-foundry)").option("--haiku-model <id>", "Haiku deployment (claude-foundry)").option("--opus-model <id>", "Opus deployment (claude-foundry)").option("--model <id>", "Model deployment (codex-foundry)").action(run(credentialsSetCommand));
|
|
39350
39363
|
credentials.command("remove <service>").description("Remove stored credentials for a service (also claude, codex, muse subscriptions)").option("-o, --org", "Organization credentials instead of personal").action(run(credentialsRemoveCommand));
|
|
39351
39364
|
credentials.command("usage").description("Show how much of each connected Claude and ChatGPT subscription's 5-hour and weekly limits is used (personal and organization by default)").addOption(new import_commander.Option("-o, --org", "Only organization subscriptions").conflicts("user")).option("-u, --user", "Only your personal subscriptions").action(run(credentialsUsageCommand));
|
|
39352
39365
|
automation = program.command("automation").alias("auto").description("Manage automations");
|