@agimon-ai/po 0.0.0-alpha.200 → 0.0.0-alpha.201

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.
Files changed (47) hide show
  1. package/dist/bin/cli.cjs +3 -3
  2. package/dist/bin/cli.cjs.map +1 -1
  3. package/dist/bin/cli.mjs +4 -4
  4. package/dist/bin/cli.mjs.map +1 -1
  5. package/dist/catalog/index.json +126 -126
  6. package/dist/package.cjs +1 -1
  7. package/dist/package.mjs +1 -1
  8. package/dist/src/bin/agentDirectory.cjs +7 -7
  9. package/dist/src/bin/agentDirectory.cjs.map +1 -1
  10. package/dist/src/bin/agentDirectory.mjs +7 -7
  11. package/dist/src/bin/agentDirectory.mjs.map +1 -1
  12. package/dist/src/builders/server/idleRestart.cjs +2 -2
  13. package/dist/src/builders/server/idleRestart.cjs.map +1 -1
  14. package/dist/src/builders/server/idleRestart.mjs +2 -2
  15. package/dist/src/builders/server/idleRestart.mjs.map +1 -1
  16. package/dist/src/builders/server/runtime.cjs +35 -12
  17. package/dist/src/builders/server/runtime.cjs.map +1 -1
  18. package/dist/src/builders/server/runtime.mjs +36 -13
  19. package/dist/src/builders/server/runtime.mjs.map +1 -1
  20. package/dist/src/builders/web/index.cjs +11 -0
  21. package/dist/src/builders/web/index.cjs.map +1 -1
  22. package/dist/src/builders/web/index.d.mts.map +1 -1
  23. package/dist/src/builders/web/index.mjs +11 -0
  24. package/dist/src/builders/web/index.mjs.map +1 -1
  25. package/dist/src/cli/commands/web/index.cjs +1 -1
  26. package/dist/src/cli/commands/web/index.cjs.map +1 -1
  27. package/dist/src/cli/commands/web/index.mjs +1 -1
  28. package/dist/src/cli/commands/web/index.mjs.map +1 -1
  29. package/dist/src/cli/help.cjs +2 -2
  30. package/dist/src/cli/help.cjs.map +1 -1
  31. package/dist/src/cli/help.mjs +2 -2
  32. package/dist/src/cli/help.mjs.map +1 -1
  33. package/dist/src/composition/layerPackageInstaller/index.cjs +2 -2
  34. package/dist/src/composition/layerPackageInstaller/index.cjs.map +1 -1
  35. package/dist/src/composition/layerPackageInstaller/index.mjs +3 -3
  36. package/dist/src/composition/layerPackageInstaller/index.mjs.map +1 -1
  37. package/dist/src/composition/pluginMarketplace/index.cjs.map +1 -1
  38. package/dist/src/composition/pluginMarketplace/index.mjs.map +1 -1
  39. package/dist/src/composition/syncService/index.cjs +11 -7
  40. package/dist/src/composition/syncService/index.cjs.map +1 -1
  41. package/dist/src/composition/syncService/index.mjs +12 -8
  42. package/dist/src/composition/syncService/index.mjs.map +1 -1
  43. package/dist/src/composition/syncService/localBuilds.cjs +4 -4
  44. package/dist/src/composition/syncService/localBuilds.cjs.map +1 -1
  45. package/dist/src/composition/syncService/localBuilds.mjs +4 -4
  46. package/dist/src/composition/syncService/localBuilds.mjs.map +1 -1
  47. package/package.json +34 -34
package/dist/bin/cli.cjs CHANGED
@@ -15,10 +15,10 @@ let node_url = require("node:url");
15
15
  */
16
16
  async function main() {
17
17
  await require_agentDirectory.initializeAgentDirectory();
18
- if (require_agentDirectory.testRoot) {
19
- const target = node_path.default.join(require_agentDirectory.testRoot, "packages/cli/po/dist/bin/cli.mjs");
18
+ if (require_agentDirectory.runtimeEnvironment?.checkoutRoot) {
19
+ const target = node_path.default.join(require_agentDirectory.runtimeEnvironment.checkoutRoot, "packages/cli/po/dist/bin/cli.mjs");
20
20
  if (await node_fs_promises.default.realpath(target).catch((error) => {
21
- if (error.code === "ENOENT") throw new Error(`Local test CLI build is missing: ${target}. Build @agimon-ai/po first.`);
21
+ if (error.code === "ENOENT") throw new Error(`Local checkout CLI build is missing: ${target}. Build @agimon-ai/po first.`);
22
22
  throw error;
23
23
  }) !== await node_fs_promises.default.realpath((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href))) {
24
24
  await import((0, node_url.pathToFileURL)(target).href);
@@ -1 +1 @@
1
- {"version":3,"file":"cli.cjs","names":["initializeAgentDirectory","testRoot","path","fs","fileURLToPath","pathToFileURL"],"sources":["../../src/bin/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for po\n *\n * The executable installed as the `po` binary, and the file the repository\n * launcher (pi.sh) invoke directly from source.\n */\n\nimport fs from 'node:fs/promises';\nimport path from 'node:path';\nimport { fileURLToPath, pathToFileURL } from 'node:url';\n\nimport { initializeAgentDirectory, testRoot } from './agentDirectory';\n\nasync function main(): Promise<number | undefined> {\n await initializeAgentDirectory();\n if (testRoot) {\n const target = path.join(testRoot, 'packages/cli/po/dist/bin/cli.mjs');\n const realTarget = await fs.realpath(target).catch((error: NodeJS.ErrnoException) => {\n if (error.code === 'ENOENT')\n throw new Error(`Local test CLI build is missing: ${target}. Build @agimon-ai/po first.`);\n throw error;\n });\n if (realTarget !== (await fs.realpath(fileURLToPath(import.meta.url)))) {\n await import(pathToFileURL(target).href);\n return;\n }\n }\n const { loadCliLocale } = await import('../cli/locale');\n await loadCliLocale(process.env);\n const { HARNESS_VERSION, printHelp } = await import('../cli/help');\n const { informationalRequest, routeCommand } = await import('../cli/router');\n\n const args = process.argv.slice(2);\n // A named subcommand parses its own arguments, including its own --help, so the\n // fast path below must not answer for it.\n const ownsArguments = routeCommand(args) !== undefined;\n\n // Keep informational startup independent from telemetry, configuration, Pi,\n // and the extension compiler. Those graphs are useful for a real command but\n // used to account for almost all of `po --help` and `po --version`.\n const informational = ownsArguments ? undefined : informationalRequest(args);\n const informationalExit =\n informational === 'help'\n ? (() => {\n printHelp();\n return 0;\n })()\n : informational === 'version'\n ? (() => {\n process.stdout.write(`${HARNESS_VERSION}\\n`);\n return 0;\n })()\n : undefined;\n\n const run =\n informationalExit === undefined\n ? import('../cli/cliApp').then(({ runCli }) => runCli(args))\n : Promise.resolve(informationalExit);\n\n return run;\n}\n\nmain().then(\n (exitCode) => {\n if (exitCode !== undefined) process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[po] ${message}\\n`);\n process.exitCode = 1;\n },\n);\n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AwB,MAAM,EAAE,aAAa,OAAO,IAAI,CAAC,IACzD,QAAQ,QAAQ,iBAAiB;AAGzC;AAEA,KAAK,CAAC,CAAC,MACJ,aAAa;CACZ,IAAI,aAAa,KAAA,GAAW,QAAQ,WAAW;AACjD,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,QAAQ,QAAQ,GAAG;CACxC,QAAQ,WAAW;AACrB,CACF"}
1
+ {"version":3,"file":"cli.cjs","names":["initializeAgentDirectory","runtimeEnvironment","path","fs","fileURLToPath","pathToFileURL"],"sources":["../../src/bin/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for po\n *\n * The executable installed as the `po` binary, and the file the repository\n * launcher (pi.sh) invoke directly from source.\n */\n\nimport fs from 'node:fs/promises';\nimport path from 'node:path';\nimport { fileURLToPath, pathToFileURL } from 'node:url';\n\nimport { initializeAgentDirectory, runtimeEnvironment } from './agentDirectory';\n\nasync function main(): Promise<number | undefined> {\n await initializeAgentDirectory();\n if (runtimeEnvironment?.checkoutRoot) {\n const target = path.join(runtimeEnvironment.checkoutRoot, 'packages/cli/po/dist/bin/cli.mjs');\n const realTarget = await fs.realpath(target).catch((error: NodeJS.ErrnoException) => {\n if (error.code === 'ENOENT')\n throw new Error(`Local checkout CLI build is missing: ${target}. Build @agimon-ai/po first.`);\n throw error;\n });\n if (realTarget !== (await fs.realpath(fileURLToPath(import.meta.url)))) {\n await import(pathToFileURL(target).href);\n return;\n }\n }\n const { loadCliLocale } = await import('../cli/locale');\n await loadCliLocale(process.env);\n const { HARNESS_VERSION, printHelp } = await import('../cli/help');\n const { informationalRequest, routeCommand } = await import('../cli/router');\n\n const args = process.argv.slice(2);\n // A named subcommand parses its own arguments, including its own --help, so the\n // fast path below must not answer for it.\n const ownsArguments = routeCommand(args) !== undefined;\n\n // Keep informational startup independent from telemetry, configuration, Pi,\n // and the extension compiler. Those graphs are useful for a real command but\n // used to account for almost all of `po --help` and `po --version`.\n const informational = ownsArguments ? undefined : informationalRequest(args);\n const informationalExit =\n informational === 'help'\n ? (() => {\n printHelp();\n return 0;\n })()\n : informational === 'version'\n ? (() => {\n process.stdout.write(`${HARNESS_VERSION}\\n`);\n return 0;\n })()\n : undefined;\n\n const run =\n informationalExit === undefined\n ? import('../cli/cliApp').then(({ runCli }) => runCli(args))\n : Promise.resolve(informationalExit);\n\n return run;\n}\n\nmain().then(\n (exitCode) => {\n if (exitCode !== undefined) process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[po] ${message}\\n`);\n process.exitCode = 1;\n },\n);\n"],"mappings":";;;;;;;;;;;;;;;AAeA,eAAe,OAAoC;CACjD,MAAMA,uBAAAA,yBAAyB;CAC/B,IAAIC,uBAAAA,oBAAoB,cAAc;EACpC,MAAM,SAASC,UAAAA,QAAK,KAAKD,uBAAAA,mBAAmB,cAAc,kCAAkC;EAM5F,IAAI,MALqBE,iBAAAA,QAAG,SAAS,MAAM,CAAC,CAAC,OAAO,UAAiC;GACnF,IAAI,MAAM,SAAS,UACjB,MAAM,IAAI,MAAM,wCAAwC,OAAO,6BAA6B;GAC9F,MAAM;EACR,CAAC,MACmB,MAAMA,iBAAAA,QAAG,UAAA,GAASC,SAAAA,cAAAA,CAAAA,QAAAA,KAAAA,CAAAA,CAAAA,cAAAA,UAAAA,CAAAA,CAAAA,IAA6B,CAAC,GAAI;GACtE,MAAM,QAAA,GAAOC,SAAAA,cAAAA,CAAc,MAAM,CAAC,CAAC;GACnC;EACF;CACF;CACA,MAAM,EAAE,kBAAkB,MAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAAM,uBAAA,CAAA;CAChC,MAAM,cAAc,QAAQ,GAAG;CAC/B,MAAM,EAAE,iBAAiB,cAAc,MAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAAM,qBAAA,CAAA;CAC7C,MAAM,EAAE,sBAAsB,iBAAiB,MAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAAM,uBAAA,CAAA;CAErD,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC;CAQjC,MAAM,gBALgB,aAAa,IAAI,MAAM,KAAA,IAKP,KAAA,IAAY,qBAAqB,IAAI;CAC3E,MAAM,oBACJ,kBAAkB,gBACP;EACL,UAAU;EACV,OAAO;CACT,EAAA,CAAG,IACH,kBAAkB,mBACT;EACL,QAAQ,OAAO,MAAM,GAAG,gBAAgB,GAAG;EAC3C,OAAO;CACT,EAAA,CAAG,IACH,KAAA;CAOR,OAJE,sBAAsB,KAAA,IAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAClB,uBAAA,CAAA,CAAA,CAAwB,MAAM,EAAE,aAAa,OAAO,IAAI,CAAC,IACzD,QAAQ,QAAQ,iBAAiB;AAGzC;AAEA,KAAK,CAAC,CAAC,MACJ,aAAa;CACZ,IAAI,aAAa,KAAA,GAAW,QAAQ,WAAW;AACjD,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,QAAQ,QAAQ,GAAG;CACxC,QAAQ,WAAW;AACrB,CACF"}
package/dist/bin/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { initializeAgentDirectory, testRoot } from "../src/bin/agentDirectory.mjs";
2
+ import { initializeAgentDirectory, runtimeEnvironment } from "../src/bin/agentDirectory.mjs";
3
3
  import path from "node:path";
4
4
  import fs from "node:fs/promises";
5
5
  import { fileURLToPath, pathToFileURL } from "node:url";
@@ -12,10 +12,10 @@ import { fileURLToPath, pathToFileURL } from "node:url";
12
12
  */
13
13
  async function main() {
14
14
  await initializeAgentDirectory();
15
- if (testRoot) {
16
- const target = path.join(testRoot, "packages/cli/po/dist/bin/cli.mjs");
15
+ if (runtimeEnvironment?.checkoutRoot) {
16
+ const target = path.join(runtimeEnvironment.checkoutRoot, "packages/cli/po/dist/bin/cli.mjs");
17
17
  if (await fs.realpath(target).catch((error) => {
18
- if (error.code === "ENOENT") throw new Error(`Local test CLI build is missing: ${target}. Build @agimon-ai/po first.`);
18
+ if (error.code === "ENOENT") throw new Error(`Local checkout CLI build is missing: ${target}. Build @agimon-ai/po first.`);
19
19
  throw error;
20
20
  }) !== await fs.realpath(fileURLToPath(import.meta.url))) {
21
21
  await import(pathToFileURL(target).href);
@@ -1 +1 @@
1
- {"version":3,"file":"cli.mjs","names":[],"sources":["../../src/bin/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for po\n *\n * The executable installed as the `po` binary, and the file the repository\n * launcher (pi.sh) invoke directly from source.\n */\n\nimport fs from 'node:fs/promises';\nimport path from 'node:path';\nimport { fileURLToPath, pathToFileURL } from 'node:url';\n\nimport { initializeAgentDirectory, testRoot } from './agentDirectory';\n\nasync function main(): Promise<number | undefined> {\n await initializeAgentDirectory();\n if (testRoot) {\n const target = path.join(testRoot, 'packages/cli/po/dist/bin/cli.mjs');\n const realTarget = await fs.realpath(target).catch((error: NodeJS.ErrnoException) => {\n if (error.code === 'ENOENT')\n throw new Error(`Local test CLI build is missing: ${target}. Build @agimon-ai/po first.`);\n throw error;\n });\n if (realTarget !== (await fs.realpath(fileURLToPath(import.meta.url)))) {\n await import(pathToFileURL(target).href);\n return;\n }\n }\n const { loadCliLocale } = await import('../cli/locale');\n await loadCliLocale(process.env);\n const { HARNESS_VERSION, printHelp } = await import('../cli/help');\n const { informationalRequest, routeCommand } = await import('../cli/router');\n\n const args = process.argv.slice(2);\n // A named subcommand parses its own arguments, including its own --help, so the\n // fast path below must not answer for it.\n const ownsArguments = routeCommand(args) !== undefined;\n\n // Keep informational startup independent from telemetry, configuration, Pi,\n // and the extension compiler. Those graphs are useful for a real command but\n // used to account for almost all of `po --help` and `po --version`.\n const informational = ownsArguments ? undefined : informationalRequest(args);\n const informationalExit =\n informational === 'help'\n ? (() => {\n printHelp();\n return 0;\n })()\n : informational === 'version'\n ? (() => {\n process.stdout.write(`${HARNESS_VERSION}\\n`);\n return 0;\n })()\n : undefined;\n\n const run =\n informationalExit === undefined\n ? import('../cli/cliApp').then(({ runCli }) => runCli(args))\n : Promise.resolve(informationalExit);\n\n return run;\n}\n\nmain().then(\n (exitCode) => {\n if (exitCode !== undefined) process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[po] ${message}\\n`);\n process.exitCode = 1;\n },\n);\n"],"mappings":";;;;;;;;;;;;AAeA,eAAe,OAAoC;CACjD,MAAM,yBAAyB;CAC/B,IAAI,UAAU;EACZ,MAAM,SAAS,KAAK,KAAK,UAAU,kCAAkC;EAMrE,IAAI,MALqB,GAAG,SAAS,MAAM,CAAC,CAAC,OAAO,UAAiC;GACnF,IAAI,MAAM,SAAS,UACjB,MAAM,IAAI,MAAM,oCAAoC,OAAO,6BAA6B;GAC1F,MAAM;EACR,CAAC,MACmB,MAAM,GAAG,SAAS,cAAc,YAAY,GAAG,CAAC,GAAI;GACtE,MAAM,OAAO,cAAc,MAAM,CAAC,CAAC;GACnC;EACF;CACF;CACA,MAAM,EAAE,kBAAkB,MAAM,OAAO;CACvC,MAAM,cAAc,QAAQ,GAAG;CAC/B,MAAM,EAAE,iBAAiB,cAAc,MAAM,OAAO;CACpD,MAAM,EAAE,sBAAsB,iBAAiB,MAAM,OAAO;CAE5D,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC;CAQjC,MAAM,gBALgB,aAAa,IAAI,MAAM,KAAA,IAKP,KAAA,IAAY,qBAAqB,IAAI;CAC3E,MAAM,oBACJ,kBAAkB,gBACP;EACL,UAAU;EACV,OAAO;CACT,EAAA,CAAG,IACH,kBAAkB,mBACT;EACL,QAAQ,OAAO,MAAM,GAAG,gBAAgB,GAAG;EAC3C,OAAO;CACT,EAAA,CAAG,IACH,KAAA;CAOR,OAJE,sBAAsB,KAAA,IAClB,OAAO,wBAAgB,CAAC,MAAM,EAAE,aAAa,OAAO,IAAI,CAAC,IACzD,QAAQ,QAAQ,iBAAiB;AAGzC;AAEA,KAAK,CAAC,CAAC,MACJ,aAAa;CACZ,IAAI,aAAa,KAAA,GAAW,QAAQ,WAAW;AACjD,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,QAAQ,QAAQ,GAAG;CACxC,QAAQ,WAAW;AACrB,CACF"}
1
+ {"version":3,"file":"cli.mjs","names":[],"sources":["../../src/bin/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for po\n *\n * The executable installed as the `po` binary, and the file the repository\n * launcher (pi.sh) invoke directly from source.\n */\n\nimport fs from 'node:fs/promises';\nimport path from 'node:path';\nimport { fileURLToPath, pathToFileURL } from 'node:url';\n\nimport { initializeAgentDirectory, runtimeEnvironment } from './agentDirectory';\n\nasync function main(): Promise<number | undefined> {\n await initializeAgentDirectory();\n if (runtimeEnvironment?.checkoutRoot) {\n const target = path.join(runtimeEnvironment.checkoutRoot, 'packages/cli/po/dist/bin/cli.mjs');\n const realTarget = await fs.realpath(target).catch((error: NodeJS.ErrnoException) => {\n if (error.code === 'ENOENT')\n throw new Error(`Local checkout CLI build is missing: ${target}. Build @agimon-ai/po first.`);\n throw error;\n });\n if (realTarget !== (await fs.realpath(fileURLToPath(import.meta.url)))) {\n await import(pathToFileURL(target).href);\n return;\n }\n }\n const { loadCliLocale } = await import('../cli/locale');\n await loadCliLocale(process.env);\n const { HARNESS_VERSION, printHelp } = await import('../cli/help');\n const { informationalRequest, routeCommand } = await import('../cli/router');\n\n const args = process.argv.slice(2);\n // A named subcommand parses its own arguments, including its own --help, so the\n // fast path below must not answer for it.\n const ownsArguments = routeCommand(args) !== undefined;\n\n // Keep informational startup independent from telemetry, configuration, Pi,\n // and the extension compiler. Those graphs are useful for a real command but\n // used to account for almost all of `po --help` and `po --version`.\n const informational = ownsArguments ? undefined : informationalRequest(args);\n const informationalExit =\n informational === 'help'\n ? (() => {\n printHelp();\n return 0;\n })()\n : informational === 'version'\n ? (() => {\n process.stdout.write(`${HARNESS_VERSION}\\n`);\n return 0;\n })()\n : undefined;\n\n const run =\n informationalExit === undefined\n ? import('../cli/cliApp').then(({ runCli }) => runCli(args))\n : Promise.resolve(informationalExit);\n\n return run;\n}\n\nmain().then(\n (exitCode) => {\n if (exitCode !== undefined) process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[po] ${message}\\n`);\n process.exitCode = 1;\n },\n);\n"],"mappings":";;;;;;;;;;;;AAeA,eAAe,OAAoC;CACjD,MAAM,yBAAyB;CAC/B,IAAI,oBAAoB,cAAc;EACpC,MAAM,SAAS,KAAK,KAAK,mBAAmB,cAAc,kCAAkC;EAM5F,IAAI,MALqB,GAAG,SAAS,MAAM,CAAC,CAAC,OAAO,UAAiC;GACnF,IAAI,MAAM,SAAS,UACjB,MAAM,IAAI,MAAM,wCAAwC,OAAO,6BAA6B;GAC9F,MAAM;EACR,CAAC,MACmB,MAAM,GAAG,SAAS,cAAc,YAAY,GAAG,CAAC,GAAI;GACtE,MAAM,OAAO,cAAc,MAAM,CAAC,CAAC;GACnC;EACF;CACF;CACA,MAAM,EAAE,kBAAkB,MAAM,OAAO;CACvC,MAAM,cAAc,QAAQ,GAAG;CAC/B,MAAM,EAAE,iBAAiB,cAAc,MAAM,OAAO;CACpD,MAAM,EAAE,sBAAsB,iBAAiB,MAAM,OAAO;CAE5D,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC;CAQjC,MAAM,gBALgB,aAAa,IAAI,MAAM,KAAA,IAKP,KAAA,IAAY,qBAAqB,IAAI;CAC3E,MAAM,oBACJ,kBAAkB,gBACP;EACL,UAAU;EACV,OAAO;CACT,EAAA,CAAG,IACH,kBAAkB,mBACT;EACL,QAAQ,OAAO,MAAM,GAAG,gBAAgB,GAAG;EAC3C,OAAO;C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