@integrity-labs/agt-cli 0.9.10 → 0.10.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.
@@ -195,6 +195,26 @@ var INTEGRATION_REGISTRY = [
195
195
  ],
196
196
  docs_url: "https://v0.dev/docs/api/platform/overview"
197
197
  },
198
+ {
199
+ id: "pika",
200
+ name: "Pika",
201
+ category: "media",
202
+ description: "AI video meeting agent \u2014 join Google Meet and Zoom calls with a custom avatar and cloned voice via PikaStreaming",
203
+ supported_auth_types: ["api_key"],
204
+ capabilities: [
205
+ { id: "pika:join-meeting", name: "Join Meeting", description: "Join a video meeting as an AI participant with avatar and voice", access: "write" },
206
+ { id: "pika:leave-meeting", name: "Leave Meeting", description: "Leave an active video meeting session", access: "write" },
207
+ { id: "pika:generate-avatar", name: "Generate Avatar", description: "Generate an AI avatar image for video calls", access: "write" },
208
+ { id: "pika:clone-voice", name: "Clone Voice", description: "Clone a voice from an audio recording", access: "write" }
209
+ ],
210
+ cli_tool: {
211
+ package: "pika-skills",
212
+ binary: "python3",
213
+ env_key: "PIKA_DEV_KEY",
214
+ skill_id: "pikastream-video-meeting"
215
+ },
216
+ docs_url: "https://github.com/Pika-Labs/Pika-Skills"
217
+ },
198
218
  {
199
219
  id: "custom",
200
220
  name: "Custom Integration",
@@ -444,12 +464,30 @@ you need context about who you work for or how to operate.
444
464
 
445
465
  ${body}`;
446
466
  }
467
+ function buildReportsToSection(reportsTo) {
468
+ if (!reportsTo)
469
+ return "";
470
+ const typeLabel = reportsTo.type === "agent" ? "Agent" : "Person";
471
+ let section = `
472
+ ## Reports To
473
+
474
+ - **${reportsTo.name}** (${typeLabel})`;
475
+ if (reportsTo.title)
476
+ section += `
477
+ - Title: ${reportsTo.title}`;
478
+ if (reportsTo.description)
479
+ section += `
480
+ - ${reportsTo.description}`;
481
+ section += "\n";
482
+ return section;
483
+ }
447
484
  function generateSoulMd(input) {
448
- const { frontmatter, role, description, resolvedChannels, team, knowledge } = input;
485
+ const { frontmatter, role, description, resolvedChannels, team, knowledge, reportsTo } = input;
449
486
  const channelList = resolvedChannels?.length ? resolvedChannels.join(", ") : "none";
450
487
  const roleDisplay = role ?? "Agent";
451
488
  const desc = description?.trim();
452
489
  const knowledgeSection = buildKnowledgeSection(knowledge);
490
+ const reportsToSection = buildReportsToSection(reportsTo);
453
491
  return `# ${frontmatter.display_name}
454
492
 
455
493
  You are **${frontmatter.display_name}**, **${roleDisplay}**${team ? ` at **${team.name}**` : ""}.
@@ -459,7 +497,7 @@ ${desc}
459
497
  - Owner: ${frontmatter.owner.name}
460
498
  - Environment: ${frontmatter.environment}
461
499
  - Channels: ${channelList}
462
- ${knowledgeSection}`;
500
+ ${reportsToSection}${knowledgeSection}`;
463
501
  }
464
502
  function generateAgentsMd(input) {
465
503
  const { frontmatter, role, description, team } = input;
@@ -668,7 +706,8 @@ var openclawAdapter = {
668
706
  description: input.agent.description,
669
707
  resolvedChannels: input.resolvedChannels,
670
708
  team: input.team,
671
- knowledge: knowledgeRefs.length > 0 ? knowledgeRefs : void 0
709
+ knowledge: knowledgeRefs.length > 0 ? knowledgeRefs : void 0,
710
+ reportsTo: input.reportsTo
672
711
  };
673
712
  const artifacts = [
674
713
  { relativePath: "openclaw.json5", content: serializeOpenClawConfig(config) },
@@ -1887,8 +1926,38 @@ Check \`.claude/skills/\` for detailed usage instructions for each integration.
1887
1926
 
1888
1927
  `;
1889
1928
  }
1929
+ function buildPersonalitySection(seed) {
1930
+ if (!seed?.trim())
1931
+ return "";
1932
+ return `## Personality
1933
+
1934
+ ${seed.trim()}
1935
+
1936
+ `;
1937
+ }
1938
+ function buildReportsToSection2(reportsTo) {
1939
+ if (!reportsTo)
1940
+ return "";
1941
+ const typeLabel = reportsTo.type === "agent" ? "Agent" : "Person";
1942
+ let section = `## Reports To
1943
+
1944
+ - **${reportsTo.name}** (${typeLabel})`;
1945
+ if (reportsTo.title)
1946
+ section += `
1947
+ - Title: ${reportsTo.title}`;
1948
+ if (reportsTo.description)
1949
+ section += `
1950
+ - ${reportsTo.description}`;
1951
+ section += `
1952
+
1953
+ Escalate blockers, questions, and important decisions to your manager.
1954
+ When your manager sends you a message, prioritize it.
1955
+
1956
+ `;
1957
+ return section;
1958
+ }
1890
1959
  function generateClaudeMd(input) {
1891
- const { frontmatter, role, description, resolvedChannels, team, consoleUrl, hasQmd, integrations, knowledge } = input;
1960
+ const { frontmatter, role, description, resolvedChannels, team, consoleUrl, hasQmd, integrations, knowledge, timezone, reportsTo, personalitySeed } = input;
1892
1961
  const channelList = resolvedChannels?.length ? resolvedChannels.join(", ") : "none";
1893
1962
  const roleDisplay = role ?? "Agent";
1894
1963
  const desc = description?.trim();
@@ -1896,18 +1965,21 @@ function generateClaudeMd(input) {
1896
1965
  const memorySection = buildMemorySection(hasQmd);
1897
1966
  const integrationsSection = buildIntegrationsSection(integrations);
1898
1967
  const knowledgeSection = buildKnowledgeSection2(knowledge);
1968
+ const personalitySection = buildPersonalitySection(personalitySeed);
1969
+ const reportsToSection = buildReportsToSection2(reportsTo);
1899
1970
  return `# ${frontmatter.display_name}
1900
1971
 
1901
1972
  You are **${frontmatter.display_name}**, **${roleDisplay}**${team ? ` at **${team.name}**` : ""}.
1902
1973
  ${desc ? `
1903
1974
  ${desc}
1904
1975
  ` : ""}
1905
- ## Identity
1976
+ ${personalitySection}## Identity
1906
1977
 
1907
1978
  - Code Name: ${frontmatter.code_name}
1908
1979
  - Owner: ${frontmatter.owner.name}
1909
1980
  - Environment: ${frontmatter.environment}
1910
1981
  - Risk Tier: ${frontmatter.risk_tier}
1982
+ - Timezone: ${timezone?.trim() || "UTC"}
1911
1983
  - Channels: ${channelList}
1912
1984
  ${resolvedChannels?.includes("slack") ? `
1913
1985
  ## Slack
@@ -1950,7 +2022,7 @@ first to load your recent board state. This gives you context about completed an
1950
2022
  in-progress items so you can answer accurately.
1951
2023
 
1952
2024
  ${memorySection}
1953
- ${integrationsSection}${knowledgeSection}## Development Workflow
2025
+ ${reportsToSection}${integrationsSection}${knowledgeSection}## Development Workflow
1954
2026
 
1955
2027
  ### Repository Management
1956
2028
 
@@ -2243,7 +2315,10 @@ var claudeCodeAdapter = {
2243
2315
  consoleUrl: process.env["NEXT_PUBLIC_APP_URL"] || process.env["AGT_CONSOLE_URL"] || void 0,
2244
2316
  hasQmd: input.integrations?.some((i) => i.definition_id === "qmd") ?? false,
2245
2317
  integrations: integrationSummaries,
2246
- knowledge: knowledgeRefs.length > 0 ? knowledgeRefs : void 0
2318
+ knowledge: knowledgeRefs.length > 0 ? knowledgeRefs : void 0,
2319
+ timezone: input.timezone,
2320
+ reportsTo: input.reportsTo,
2321
+ personalitySeed: input.personalitySeed
2247
2322
  };
2248
2323
  const artifacts = [
2249
2324
  { relativePath: "CLAUDE.md", content: generateClaudeMd(claudeMdInput) },
@@ -2764,12 +2839,16 @@ function setActiveTeam(slug) {
2764
2839
  config.active_team = slug;
2765
2840
  saveConfig(config);
2766
2841
  }
2842
+ function getHost() {
2843
+ return process.env["AGT_HOST"];
2844
+ }
2767
2845
  var AGT_HOST = process.env["AGT_HOST"];
2768
2846
  function requireHost() {
2769
- if (!AGT_HOST) {
2847
+ const host = getHost();
2848
+ if (!host) {
2770
2849
  throw new Error("AGT_HOST is not set. Export it to point at the Augmented API (e.g. export AGT_HOST=https://your-api.example.com)");
2771
2850
  }
2772
- return AGT_HOST;
2851
+ return host;
2773
2852
  }
2774
2853
 
2775
2854
  // src/lib/api-client.ts
@@ -4800,7 +4879,7 @@ export {
4800
4879
  getApiKey,
4801
4880
  getActiveTeam,
4802
4881
  setActiveTeam,
4803
- AGT_HOST,
4882
+ getHost,
4804
4883
  requireHost,
4805
4884
  exchangeApiKey,
4806
4885
  ApiError,
@@ -4827,4 +4906,4 @@ export {
4827
4906
  detectDrift,
4828
4907
  provision
4829
4908
  };
4830
- //# sourceMappingURL=chunk-IT34G2Y2.js.map
4909
+ //# sourceMappingURL=chunk-N7TRKQMT.js.map