@12-apps/mcp 3.10.0 → 3.12.0
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/chunk-VDD4YRNP.js +197 -0
- package/dist/chunk-VDD4YRNP.js.map +1 -0
- package/dist/chunk-WUNMAHQG.js +325 -0
- package/dist/chunk-WUNMAHQG.js.map +1 -0
- package/dist/{create-api-mcp-oauth-CwVXKK-A.d.ts → create-api-mcp-oauth-CsC0jlH7.d.ts} +1 -1
- package/dist/hono/index.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +25 -9
- package/dist/index.js.map +1 -1
- package/dist/locales-eKE_OJw4.d.ts +64 -0
- package/dist/manifest/index.d.ts +93 -0
- package/dist/manifest/index.js +22 -0
- package/dist/manifest/index.js.map +1 -0
- package/dist/manifest/server.d.ts +74 -0
- package/dist/manifest/server.js +41 -0
- package/dist/manifest/server.js.map +1 -0
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/index.js +6 -189
- package/dist/oauth/index.js.map +1 -1
- package/dist/react/index.d.ts +20 -2
- package/dist/react/index.js +129 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +34 -14
- package/src/en-US.ts +204 -0
- package/src/index.ts +12 -0
- package/src/locales.ts +58 -0
- package/src/manifest/index.ts +89 -0
- package/src/manifest/server.ts +94 -0
- package/src/react/en-US.ts +125 -0
- package/src/react/index.ts +18 -0
- package/src/react/locales.ts +17 -0
- package/dist/chunk-HRAQKMDC.js +0 -154
- package/dist/chunk-HRAQKMDC.js.map +0 -1
- package/dist/pt-BR-e1RnV2v8.d.ts +0 -25
package/dist/chunk-HRAQKMDC.js
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__name
|
|
3
|
-
} from "./chunk-7QVYU63E.js";
|
|
4
|
-
|
|
5
|
-
// src/pt-BR.ts
|
|
6
|
-
var CONNECTOR_TAIL = [
|
|
7
|
-
"Deixe OAuth Client ID e Client Secret em branco \u2014 n\xE3o \xE9 preciso gerar credenciais: a loja registra o conector automaticamente no primeiro acesso.",
|
|
8
|
-
"Confirme e clique em Connect: abre a tela de login da loja \u2014 entre com a SUA conta de lojista e autorize o acesso.",
|
|
9
|
-
"Pronto: ative o conector na conversa para o assistente consultar e operar a sua loja."
|
|
10
|
-
];
|
|
11
|
-
function chatgptConfigureStages(platformName) {
|
|
12
|
-
return [
|
|
13
|
-
{
|
|
14
|
-
id: "enable-dev-mode",
|
|
15
|
-
label: "enable developer mode",
|
|
16
|
-
link: {
|
|
17
|
-
url: "https://chatgpt.com/plugins#settings/Security",
|
|
18
|
-
label: "Abrir Seguran\xE7a e login"
|
|
19
|
-
},
|
|
20
|
-
steps: [
|
|
21
|
-
"Ative o Modo desenvolvedor em Settings \u203A Security and login (Seguran\xE7a e login)."
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: "configurar",
|
|
26
|
-
label: "configurar",
|
|
27
|
-
link: {
|
|
28
|
-
url: "https://chatgpt.com/plugins#settings/Connectors?create-connector=true&redirectAfter=%2Fplugins",
|
|
29
|
-
label: "Criar o conector"
|
|
30
|
-
},
|
|
31
|
-
steps: [
|
|
32
|
-
"Isso vai abrir um popup para voc\xEA criar um plugin novo. Coloque como nome o nome da sua loja e, no campo MCP, o link copiado no passo anterior.",
|
|
33
|
-
'Marque a caixa "I understand and want to continue" \u2014 a OpenAI n\xE3o revisou este servidor MCP; ela avisa que sites podem tentar roubar seus dados ou induzir o modelo a a\xE7\xF5es indevidas, incluindo destruir dados.',
|
|
34
|
-
`Clique em "Sign in with ${platformName}" e entre com a sua conta de lojista para autorizar o acesso. Pronto: a conex\xE3o \xE9 registrada automaticamente.`
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
];
|
|
38
|
-
}
|
|
39
|
-
__name(chatgptConfigureStages, "chatgptConfigureStages");
|
|
40
|
-
function PT_BR_AI_HOST_GUIDES(platformName) {
|
|
41
|
-
const chatgptStages = chatgptConfigureStages(platformName);
|
|
42
|
-
return [
|
|
43
|
-
{
|
|
44
|
-
id: "claude",
|
|
45
|
-
label: "Claude.ai",
|
|
46
|
-
brand: "claude",
|
|
47
|
-
kind: "No navegador",
|
|
48
|
-
link: {
|
|
49
|
-
url: "https://claude.ai/new?modal=add-custom-connector#settings/customize-connectors",
|
|
50
|
-
label: "Abrir os conectores do Claude"
|
|
51
|
-
},
|
|
52
|
-
docs: {
|
|
53
|
-
url: "https://support.anthropic.com/en/articles/11175166-how-do-i-connect-mcp-servers-to-claude-ai",
|
|
54
|
-
label: "documenta\xE7\xE3o oficial da Anthropic \u2014 conectores personalizados"
|
|
55
|
-
},
|
|
56
|
-
steps: [
|
|
57
|
-
"Clique no bot\xE3o acima (ou v\xE1 em Settings \u203A Customize \u203A Connectors) e escolha Add custom connector.",
|
|
58
|
-
"D\xEA um nome ao conector (ex.: o nome da sua loja) e cole a URL do servidor MCP da sua loja (copie acima) no campo de URL.",
|
|
59
|
-
...CONNECTOR_TAIL
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
id: "claude-desktop",
|
|
64
|
-
label: "Claude Desktop",
|
|
65
|
-
brand: "claude",
|
|
66
|
-
kind: "Aplicativo (Windows/Mac)",
|
|
67
|
-
docs: {
|
|
68
|
-
url: "https://support.anthropic.com/en/articles/11175166-how-do-i-connect-mcp-servers-to-claude-ai",
|
|
69
|
-
label: "documenta\xE7\xE3o oficial da Anthropic \u2014 conectores personalizados"
|
|
70
|
-
},
|
|
71
|
-
steps: [
|
|
72
|
-
"Abra o Claude Desktop e v\xE1 em Settings (\u2699\uFE0F) \u203A Connectors.",
|
|
73
|
-
"Clique em Add custom connector e cole a URL do servidor MCP da sua loja (copie acima).",
|
|
74
|
-
...CONNECTOR_TAIL
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
id: "chatgpt",
|
|
79
|
-
label: "ChatGPT",
|
|
80
|
-
brand: "openai",
|
|
81
|
-
kind: "No navegador",
|
|
82
|
-
link: {
|
|
83
|
-
url: "https://chatgpt.com/plugins",
|
|
84
|
-
label: "Abrir os plugins do ChatGPT"
|
|
85
|
-
},
|
|
86
|
-
docs: {
|
|
87
|
-
url: "https://developers.openai.com/apps-sdk/deploy/connect-chatgpt",
|
|
88
|
-
label: "documenta\xE7\xE3o oficial da OpenAI \u2014 conectar um servidor MCP ao ChatGPT"
|
|
89
|
-
},
|
|
90
|
-
configureStages: chatgptStages,
|
|
91
|
-
// Mirrors the flattened stage instructions so the MCP connect guide
|
|
92
|
-
// (`connectToChatGpt`) can never drift from what owners see in the wizard.
|
|
93
|
-
steps: chatgptStages.flatMap((stage) => stage.steps)
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
id: "codex",
|
|
97
|
-
label: "Codex",
|
|
98
|
-
brand: "openai",
|
|
99
|
-
kind: "App / CLI de desenvolvedor",
|
|
100
|
-
link: {
|
|
101
|
-
url: "https://developers.openai.com/codex",
|
|
102
|
-
label: "Documenta\xE7\xE3o do Codex"
|
|
103
|
-
},
|
|
104
|
-
docs: {
|
|
105
|
-
url: "https://developers.openai.com/apps-sdk/deploy/connect-chatgpt",
|
|
106
|
-
label: "documenta\xE7\xE3o oficial da OpenAI \u2014 conectar um servidor MCP"
|
|
107
|
-
},
|
|
108
|
-
steps: [
|
|
109
|
-
"No Codex, abra as configura\xE7\xF5es de MCP (Settings \u203A MCP no app, ou o arquivo de configura\xE7\xE3o na CLI).",
|
|
110
|
-
"Adicione um servidor MCP e cole a URL do servidor MCP da sua loja (copie acima) como um conector remoto (HTTP).",
|
|
111
|
-
...CONNECTOR_TAIL
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
];
|
|
115
|
-
}
|
|
116
|
-
__name(PT_BR_AI_HOST_GUIDES, "PT_BR_AI_HOST_GUIDES");
|
|
117
|
-
var PT_BR_AI_CAPABILITIES = [
|
|
118
|
-
{
|
|
119
|
-
id: "orders",
|
|
120
|
-
title: "Acompanhe seus pedidos",
|
|
121
|
-
detail: '"Quais pedidos entraram hoje?"'
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
id: "inventory",
|
|
125
|
-
title: "Controle o estoque",
|
|
126
|
-
detail: '"Quanto ainda tenho do produto X? Registre a entrada de 20 unidades."'
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
id: "catalog",
|
|
130
|
-
title: "Gerencie o cat\xE1logo",
|
|
131
|
-
detail: "Crie e edite produtos e categorias conversando."
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
id: "sales",
|
|
135
|
-
title: "Entenda suas vendas",
|
|
136
|
-
detail: '"Qual foi o faturamento da semana?"'
|
|
137
|
-
}
|
|
138
|
-
];
|
|
139
|
-
var PT_BR_AI_PERMISSION_MODEL = "O assistente age em seu nome, com exatamente as suas permiss\xF5es: ele pode fazer o que voc\xEA pode fazer na sua loja \u2014 nada al\xE9m disso. N\xE3o \xE9 preciso criar nenhuma chave ou credencial extra; a autoriza\xE7\xE3o usa o seu pr\xF3prio login.";
|
|
140
|
-
function PT_BR_AI_CONNECT_PROMPT(spec) {
|
|
141
|
-
return `Voc\xEA agora tem acesso ao conector MCP da minha loja. Fa\xE7a, nesta ordem:
|
|
142
|
-
1) Execute a ferramenta ${spec.announceTool} informando qual assistente voc\xEA \xE9 (host: "chatgpt", "claude" ou "codex") para registrar a conex\xE3o com a minha loja.
|
|
143
|
-
2) Execute a ferramenta ${spec.probeTool} para confirmar o acesso a ${spec.probeSubject}.
|
|
144
|
-
Se precisar do identificador da loja, me pergunte o ${spec.identifierName}.`;
|
|
145
|
-
}
|
|
146
|
-
__name(PT_BR_AI_CONNECT_PROMPT, "PT_BR_AI_CONNECT_PROMPT");
|
|
147
|
-
|
|
148
|
-
export {
|
|
149
|
-
PT_BR_AI_HOST_GUIDES,
|
|
150
|
-
PT_BR_AI_CAPABILITIES,
|
|
151
|
-
PT_BR_AI_PERMISSION_MODEL,
|
|
152
|
-
PT_BR_AI_CONNECT_PROMPT
|
|
153
|
-
};
|
|
154
|
-
//# sourceMappingURL=chunk-HRAQKMDC.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/pt-BR.ts"],"sourcesContent":["import type {\n AiCapability,\n AiConnectPromptSpec,\n AiHostConfigureStage,\n AiHostGuide,\n AiPermissionModel,\n} from \"./guide\";\n\n/**\n * The pt-BR pack for the AI-integration surface — NAMED constants a host passes\n * by hand, never defaults (FUT-760).\n *\n * The filename is what exempts this file from the copy-portability gate:\n * Portuguese may ship, it may not be silent. Every sentence here is VERBATIM\n * what `guide.ts` used to compile in, so a host adopting it sees no change on\n * screen — what changes is that the walkthrough is chosen in a diff.\n *\n * The guides are DATA as much as copy: which assistants are offered, their\n * stage ids and brands. Both halves travel together because a step label and\n * the stage it labels are useless apart.\n */\n\nconst CONNECTOR_TAIL: readonly string[] = [\n \"Deixe OAuth Client ID e Client Secret em branco — não é preciso gerar credenciais: a loja registra o conector automaticamente no primeiro acesso.\",\n \"Confirme e clique em Connect: abre a tela de login da loja — entre com a SUA conta de lojista e autorize o acesso.\",\n \"Pronto: ative o conector na conversa para o assistente consultar e operar a sua loja.\",\n];\n\n/**\n * ChatGPT's two-stage configuration (Developer mode is now required before a\n * connector can be created). Stage 1 enables Developer mode in Security & login;\n * stage 2 creates the connector and signs in — which registers the connection on\n * the store side, so no prompt needs to be pasted afterwards.\n */\nfunction chatgptConfigureStages(\n platformName: string,\n): readonly AiHostConfigureStage[] {\n return [\n {\n id: \"enable-dev-mode\",\n label: \"enable developer mode\",\n link: {\n url: \"https://chatgpt.com/plugins#settings/Security\",\n label: \"Abrir Segurança e login\",\n },\n steps: [\n \"Ative o Modo desenvolvedor em Settings › Security and login (Segurança e login).\",\n ],\n },\n {\n id: \"configurar\",\n label: \"configurar\",\n link: {\n url: \"https://chatgpt.com/plugins#settings/Connectors?create-connector=true&redirectAfter=%2Fplugins\",\n label: \"Criar o conector\",\n },\n steps: [\n \"Isso vai abrir um popup para você criar um plugin novo. Coloque como nome o nome da sua loja e, no campo MCP, o link copiado no passo anterior.\",\n 'Marque a caixa \"I understand and want to continue\" — a OpenAI não revisou este servidor MCP; ela avisa que sites podem tentar roubar seus dados ou induzir o modelo a ações indevidas, incluindo destruir dados.',\n `Clique em \"Sign in with ${platformName}\" e entre com a sua conta de lojista para autorizar o acesso. Pronto: a conexão é registrada automaticamente.`,\n ],\n },\n ];\n}\n\n/**\n * The AI hosts a store owner can connect, in recommended order. Same OAuth flow\n * everywhere (the host drives it) — only the menu path differs per app.\n *\n * A FUNCTION of the platform's name, because one step is not generic: the\n * ChatGPT connector's consent screen shows an OAuth button labelled with\n * whoever operates the server, and the owner is told which button to click. It\n * used to name one particular STORE on one particular deployment — not even the\n * product, a tenant of it — so every other adopter instructed its owners to\n * click a button that does not exist.\n */\nexport function PT_BR_AI_HOST_GUIDES(platformName: string): readonly AiHostGuide[] {\n const chatgptStages = chatgptConfigureStages(platformName);\n return [\n {\n id: \"claude\",\n label: \"Claude.ai\",\n brand: \"claude\",\n kind: \"No navegador\",\n link: {\n url: \"https://claude.ai/new?modal=add-custom-connector#settings/customize-connectors\",\n label: \"Abrir os conectores do Claude\",\n },\n docs: {\n url: \"https://support.anthropic.com/en/articles/11175166-how-do-i-connect-mcp-servers-to-claude-ai\",\n label: \"documentação oficial da Anthropic — conectores personalizados\",\n },\n steps: [\n \"Clique no botão acima (ou vá em Settings › Customize › Connectors) e escolha Add custom connector.\",\n \"Dê um nome ao conector (ex.: o nome da sua loja) e cole a URL do servidor MCP da sua loja (copie acima) no campo de URL.\",\n ...CONNECTOR_TAIL,\n ],\n },\n {\n id: \"claude-desktop\",\n label: \"Claude Desktop\",\n brand: \"claude\",\n kind: \"Aplicativo (Windows/Mac)\",\n docs: {\n url: \"https://support.anthropic.com/en/articles/11175166-how-do-i-connect-mcp-servers-to-claude-ai\",\n label: \"documentação oficial da Anthropic — conectores personalizados\",\n },\n steps: [\n \"Abra o Claude Desktop e vá em Settings (⚙️) › Connectors.\",\n \"Clique em Add custom connector e cole a URL do servidor MCP da sua loja (copie acima).\",\n ...CONNECTOR_TAIL,\n ],\n },\n {\n id: \"chatgpt\",\n label: \"ChatGPT\",\n brand: \"openai\",\n kind: \"No navegador\",\n link: {\n url: \"https://chatgpt.com/plugins\",\n label: \"Abrir os plugins do ChatGPT\",\n },\n docs: {\n url: \"https://developers.openai.com/apps-sdk/deploy/connect-chatgpt\",\n label:\n \"documentação oficial da OpenAI — conectar um servidor MCP ao ChatGPT\",\n },\n configureStages: chatgptStages,\n // Mirrors the flattened stage instructions so the MCP connect guide\n // (`connectToChatGpt`) can never drift from what owners see in the wizard.\n steps: chatgptStages.flatMap((stage) => stage.steps),\n },\n {\n id: \"codex\",\n label: \"Codex\",\n brand: \"openai\",\n kind: \"App / CLI de desenvolvedor\",\n link: {\n url: \"https://developers.openai.com/codex\",\n label: \"Documentação do Codex\",\n },\n docs: {\n url: \"https://developers.openai.com/apps-sdk/deploy/connect-chatgpt\",\n label: \"documentação oficial da OpenAI — conectar um servidor MCP\",\n },\n steps: [\n \"No Codex, abra as configurações de MCP (Settings › MCP no app, ou o arquivo de configuração na CLI).\",\n \"Adicione um servidor MCP e cole a URL do servidor MCP da sua loja (copie acima) como um conector remoto (HTTP).\",\n ...CONNECTOR_TAIL,\n ],\n },\n ];\n}\n\nexport const PT_BR_AI_CAPABILITIES: readonly AiCapability[] = [\n {\n id: \"orders\",\n title: \"Acompanhe seus pedidos\",\n detail: '\"Quais pedidos entraram hoje?\"',\n },\n {\n id: \"inventory\",\n title: \"Controle o estoque\",\n detail:\n '\"Quanto ainda tenho do produto X? Registre a entrada de 20 unidades.\"',\n },\n {\n id: \"catalog\",\n title: \"Gerencie o catálogo\",\n detail: \"Crie e edite produtos e categorias conversando.\",\n },\n {\n id: \"sales\",\n title: \"Entenda suas vendas\",\n detail: '\"Qual foi o faturamento da semana?\"',\n },\n];\n\n/**\n * The permission model in one line, shown prominently: the assistant acts AS\n * the signed-in owner (auth-passthrough) — it can do exactly what the owner\n * can, nothing more, and no extra credential/API key is ever created.\n */\nexport const PT_BR_AI_PERMISSION_MODEL: AiPermissionModel =\n \"O assistente age em seu nome, com exatamente as suas permissões: ele pode fazer o que você pode fazer na sua loja — nada além disso. Não é preciso criar nenhuma chave ou credencial extra; a autorização usa o seu próprio login.\";\n\n/** The pt-BR paste-in prompt, built from the host's own tool names. */\nexport function PT_BR_AI_CONNECT_PROMPT(spec: AiConnectPromptSpec): string {\n return (\n \"Você agora tem acesso ao conector MCP da minha loja. Faça, nesta ordem:\\n\" +\n `1) Execute a ferramenta ${spec.announceTool} informando qual assistente você é (host: \"chatgpt\", \"claude\" ou \"codex\") para registrar a conexão com a minha loja.\\n` +\n `2) Execute a ferramenta ${spec.probeTool} para confirmar o acesso a ${spec.probeSubject}.\\n` +\n `Se precisar do identificador da loja, me pergunte o ${spec.identifierName}.`\n );\n}\n"],"mappings":";;;;;AAsBA,IAAM,iBAAoC;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AACF;AAQA,SAAS,uBACP,cACiC;AACjC,SAAO;AAAA,IACL;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,OAAO;AAAA,MACT;AAAA,MACA,OAAO;AAAA,QACL;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,OAAO;AAAA,MACT;AAAA,MACA,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA,2BAA2B,YAAY;AAAA,MACzC;AAAA,IACF;AAAA,EACF;AACF;AA7BS;AA0CF,SAAS,qBAAqB,cAA8C;AACjF,QAAM,gBAAgB,uBAAuB,YAAY;AACzD,SAAO;AAAA,IACL;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,OAAO;AAAA,MACP,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,OAAO;AAAA,MACT;AAAA,MACA,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,OAAO;AAAA,MACT;AAAA,MACA,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA,GAAG;AAAA,MACL;AAAA,IACF;AAAA,IACA;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,OAAO;AAAA,MACP,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,OAAO;AAAA,MACT;AAAA,MACA,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA,GAAG;AAAA,MACL;AAAA,IACF;AAAA,IACA;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,OAAO;AAAA,MACP,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,OAAO;AAAA,MACT;AAAA,MACA,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,OACE;AAAA,MACJ;AAAA,MACA,iBAAiB;AAAA;AAAA;AAAA,MAGjB,OAAO,cAAc,QAAQ,CAAC,UAAU,MAAM,KAAK;AAAA,IACrD;AAAA,IACA;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,OAAO;AAAA,MACP,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,OAAO;AAAA,MACT;AAAA,MACA,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,OAAO;AAAA,MACT;AAAA,MACA,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA,GAAG;AAAA,MACL;AAAA,IACF;AAAA,EACF;AACF;AA5EgB;AA8ET,IAAM,wBAAiD;AAAA,EAC5D;AAAA,IACE,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,QAAQ;AAAA,EACV;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,QACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,QAAQ;AAAA,EACV;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,QAAQ;AAAA,EACV;AACF;AAOO,IAAM,4BACX;AAGK,SAAS,wBAAwB,MAAmC;AACzE,SACE;AAAA,0BAC2B,KAAK,YAAY;AAAA,0BACjB,KAAK,SAAS,8BAA8B,KAAK,YAAY;AAAA,sDACjC,KAAK,cAAc;AAE9E;AAPgB;","names":[]}
|
package/dist/pt-BR-e1RnV2v8.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { A as AiCapability, b as AiConnectPromptSpec, e as AiHostGuide, i as AiPermissionModel } from './guide-KQNcXlMG.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The AI hosts a store owner can connect, in recommended order. Same OAuth flow
|
|
5
|
-
* everywhere (the host drives it) — only the menu path differs per app.
|
|
6
|
-
*
|
|
7
|
-
* A FUNCTION of the platform's name, because one step is not generic: the
|
|
8
|
-
* ChatGPT connector's consent screen shows an OAuth button labelled with
|
|
9
|
-
* whoever operates the server, and the owner is told which button to click. It
|
|
10
|
-
* used to name one particular STORE on one particular deployment — not even the
|
|
11
|
-
* product, a tenant of it — so every other adopter instructed its owners to
|
|
12
|
-
* click a button that does not exist.
|
|
13
|
-
*/
|
|
14
|
-
declare function PT_BR_AI_HOST_GUIDES(platformName: string): readonly AiHostGuide[];
|
|
15
|
-
declare const PT_BR_AI_CAPABILITIES: readonly AiCapability[];
|
|
16
|
-
/**
|
|
17
|
-
* The permission model in one line, shown prominently: the assistant acts AS
|
|
18
|
-
* the signed-in owner (auth-passthrough) — it can do exactly what the owner
|
|
19
|
-
* can, nothing more, and no extra credential/API key is ever created.
|
|
20
|
-
*/
|
|
21
|
-
declare const PT_BR_AI_PERMISSION_MODEL: AiPermissionModel;
|
|
22
|
-
/** The pt-BR paste-in prompt, built from the host's own tool names. */
|
|
23
|
-
declare function PT_BR_AI_CONNECT_PROMPT(spec: AiConnectPromptSpec): string;
|
|
24
|
-
|
|
25
|
-
export { PT_BR_AI_CAPABILITIES as P, PT_BR_AI_CONNECT_PROMPT as a, PT_BR_AI_HOST_GUIDES as b, PT_BR_AI_PERMISSION_MODEL as c };
|