@semacode/cli 2.3.0 → 2.3.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.
- package/LICENSE +39 -39
- package/README.md +251 -228
- package/dist/agentEntryPoints.js +551 -550
- package/dist/angular-consumer-standalone.d.ts +3 -1
- package/dist/angular-consumer-standalone.js +12 -8
- package/dist/drift.part01.d.ts +32 -2
- package/dist/drift.part01.js +2 -0
- package/dist/drift.part04.d.ts +3 -2
- package/dist/drift.part04.js +6 -3
- package/dist/drift.part05.d.ts +2 -1
- package/dist/drift.part05.js +4 -3
- package/dist/drift.part06.d.ts +2 -1
- package/dist/drift.part06.js +9 -5
- package/dist/drift.part07.d.ts +11 -10
- package/dist/drift.part07.js +40 -30
- package/dist/drift.part08.d.ts +2 -1
- package/dist/drift.part08.js +4 -3
- package/dist/drift.part11.js +71 -6
- package/dist/drift.part12.js +14 -1
- package/dist/drift.part13.d.ts +42 -7
- package/dist/drift.part13.js +660 -36
- package/dist/driftCache.d.ts +49 -0
- package/dist/driftCache.js +311 -0
- package/dist/driftCacheIncremental.d.ts +98 -0
- package/dist/driftCacheIncremental.js +596 -0
- package/dist/driftCatalogo.d.ts +91 -0
- package/dist/driftCatalogo.js +657 -0
- package/dist/driftCatalogoPersistente.d.ts +8 -0
- package/dist/driftCatalogoPersistente.js +77 -0
- package/dist/driftEscopo.d.ts +23 -0
- package/dist/driftEscopo.js +563 -0
- package/dist/driftEscopoReferencias.d.ts +4 -0
- package/dist/driftEscopoReferencias.js +265 -0
- package/dist/driftOrcamento.d.ts +12 -0
- package/dist/driftOrcamento.js +19 -3
- package/dist/execucoesExternas.js +5 -19
- package/dist/iaPrompts.js +310 -310
- package/dist/index.part01.d.ts +16 -1
- package/dist/index.part01.js +80 -4
- package/dist/index.part02.js +21 -21
- package/dist/index.part03.d.ts +2 -2
- package/dist/index.part03.js +14 -3
- package/dist/index.part04.d.ts +2 -2
- package/dist/index.part04.js +113 -101
- package/dist/index.part05.d.ts +1 -1
- package/dist/index.part05.js +99 -22
- package/dist/index.part06.js +3 -2
- package/dist/index.part07.js +24 -24
- package/dist/index.part08.js +1 -1
- package/dist/init/templates.part01.js +393 -393
- package/dist/init/templates.part02.js +189 -189
- package/dist/initTemplatesBackend.js +73 -73
- package/dist/initTemplatesBase.js +81 -81
- package/dist/initTemplatesFlutter.js +137 -137
- package/dist/initTemplatesRuntime.js +350 -350
- package/dist/initTemplatesWeb.js +309 -309
- package/dist/pipelineConteudo/command.js +1 -36
- package/dist/projeto.d.ts +1 -1
- package/dist/projetoCarregar.d.ts +2 -2
- package/dist/projetoCarregar.js +47 -24
- package/dist/projetoCatalogo.d.ts +7 -0
- package/dist/projetoCatalogo.js +125 -0
- package/dist/projetoTipos.d.ts +14 -5
- package/dist/sync/index.js +35 -35
- package/docs/README.md +34 -34
- package/docs/ai-integration.md +1 -7
- package/docs/ai-onboarding.md +62 -62
- package/docs/ai-workflow.md +4 -0
- package/docs/auth.md +26 -26
- package/docs/cli.md +79 -79
- package/docs/commands.md +16 -13
- package/docs/database.md +15 -15
- package/docs/deploy.md +41 -41
- package/docs/descoberta-capacidades.md +106 -106
- package/docs/documentation.md +37 -46
- package/docs/env.md +16 -16
- package/docs/frontend.md +41 -41
- package/docs/getting-started.md +57 -57
- package/docs/i18n.md +15 -15
- package/docs/pipeline-conteudo.md +246 -246
- package/docs/profiles.md +54 -54
- package/docs/repositories.md +43 -43
- package/docs/rollback.md +31 -31
- package/docs/security.md +32 -32
- package/docs/sistemas-interativos.md +373 -378
- package/docs/support.md +8 -8
- package/docs/testing.md +51 -44
- package/docs/vocabulary.md +29 -29
- package/exemplos/agendamento.sema +1 -1
- package/exemplos/assinatura.sema +1 -1
- package/exemplos/auditoria.sema +1 -1
- package/exemplos/autenticacao.sema +1 -1
- package/exemplos/author_obra_comum.sema +1 -1
- package/exemplos/author_tema_sensivel.sema +1 -1
- package/exemplos/automacao.sema +1 -1
- package/exemplos/cadastro_usuario.sema +1 -1
- package/exemplos/calculadora.sema +1 -1
- package/exemplos/crud_simples.sema +1 -1
- package/exemplos/estoque.sema +1 -1
- package/exemplos/exportacao.sema +1 -1
- package/exemplos/fila.sema +1 -1
- package/exemplos/integracao_externa.sema +1 -1
- package/exemplos/multi_tenant.sema +1 -1
- package/exemplos/notificacao.sema +1 -1
- package/exemplos/operacao_estrategia.sema +132 -132
- package/exemplos/operacao_estrategia_discovery.sema +220 -220
- package/exemplos/operacao_estrategia_fluxo.sema +114 -114
- package/exemplos/operacao_estrategia_gates.sema +106 -106
- package/exemplos/operacao_estrategia_quarentena.sema +133 -133
- package/exemplos/operacao_estrategia_rollout.sema +124 -124
- package/exemplos/pagamento.sema +1 -1
- package/exemplos/pagamento_dominio.sema +1 -1
- package/exemplos/pedido.sema +1 -1
- package/exemplos/permissao.sema +1 -1
- package/exemplos/persistencia_vendor_first.sema +1 -1
- package/exemplos/pipeline-conteudo/README.md +44 -44
- package/exemplos/pipeline-conteudo/alvos.json +23 -23
- package/exemplos/pipeline-conteudo/definicao.json +136 -136
- package/exemplos/profile_conversas.sema +165 -165
- package/exemplos/profile_game.sema +1 -1
- package/exemplos/profile_legal.sema +1 -1
- package/exemplos/profile_ops.sema +1 -1
- package/exemplos/profile_research.sema +1 -1
- package/exemplos/profile_simulation.sema +211 -211
- package/exemplos/profile_software.sema +1 -1
- package/exemplos/profile_workflow_n8n.sema +1 -1
- package/exemplos/relatorio.sema +1 -1
- package/exemplos/replica_analitica_erp.sema +1 -1
- package/exemplos/sistemas-interativos/README.md +100 -100
- package/exemplos/sistemas-interativos/advanced/acceptance-context-evaluate-valid.json +5 -5
- package/exemplos/sistemas-interativos/advanced/acceptance-lock-valid.json +16 -16
- package/exemplos/sistemas-interativos/advanced/asset-provenance-valid.json +32 -32
- package/exemplos/sistemas-interativos/advanced/autonomy-repair-valid.json +93 -93
- package/exemplos/sistemas-interativos/advanced/control-run-definition-valid.json +78 -78
- package/exemplos/sistemas-interativos/advanced/control-run-valid.json +27 -27
- package/exemplos/sistemas-interativos/advanced/distributed-workers-valid.json +79 -79
- package/exemplos/sistemas-interativos/advanced/editor-state-valid.json +42 -42
- package/exemplos/sistemas-interativos/advanced/engine-snapshot-after-valid.json +32 -32
- package/exemplos/sistemas-interativos/advanced/engine-snapshot-before-valid.json +23 -23
- package/exemplos/sistemas-interativos/advanced/job-orchestration-valid.json +39 -39
- package/exemplos/sistemas-interativos/advanced/multimodal-evidence-valid.json +46 -46
- package/exemplos/sistemas-interativos/advanced/multiplayer-authority-valid.json +39 -39
- package/exemplos/sistemas-interativos/advanced/playtest-fuzz-valid.json +37 -37
- package/exemplos/sistemas-interativos/advanced/portability-valid.json +104 -104
- package/exemplos/sistemas-interativos/advanced/temporal-evidence-valid.json +27 -27
- package/exemplos/sistemas-interativos/advanced/temporal-valid.json +118 -118
- package/exemplos/sistemas-interativos/experience-ir-valid.json +459 -459
- package/exemplos/sistemas-interativos/game-2d.json +83 -83
- package/exemplos/sistemas-interativos/game-3d-human.json +81 -81
- package/exemplos/sistemas-interativos/game-pixel-16-bit.json +97 -97
- package/exemplos/sistemas-interativos/game-pixel-8-bit.json +94 -94
- package/exemplos/sistemas-interativos/game-xr-human.json +80 -80
- package/exemplos/sistemas-interativos/hybrid-2-5d.json +108 -108
- package/exemplos/sistemas-interativos/protocol-mutating-rollback-valid.json +75 -75
- package/exemplos/sistemas-interativos/protocol-read-only-valid.json +58 -58
- package/exemplos/sistemas-interativos/simulation-2d-controlled.json +97 -97
- package/exemplos/sistemas-interativos/simulation-3d-calibrated-autonomous.json +141 -141
- package/exemplos/sistemas-interativos/simulation-headless-autonomous-batch.json +112 -112
- package/exemplos/sistemas-interativos/simulation-pixel-16-bit.json +103 -103
- package/exemplos/sistemas-interativos/simulation-text-controlled.json +95 -95
- package/exemplos/testes_embutidos.sema +1 -1
- package/exemplos/tratamento_erro.sema +1 -1
- package/exemplos/upload_arquivo.sema +1 -1
- package/exemplos/webhook.sema +1 -1
- package/node_modules/@sema/gerador-cpp/dist/index.js +176 -176
- package/node_modules/@sema/gerador-cpp/package.json +1 -1
- package/node_modules/@sema/gerador-css/dist/index.part01.js +10 -10
- package/node_modules/@sema/gerador-css/dist/index.part02.js +460 -460
- package/node_modules/@sema/gerador-dotnet/dist/index.js +169 -169
- package/node_modules/@sema/gerador-dotnet/package.json +1 -1
- package/node_modules/@sema/gerador-html/dist/index.js +17 -17
- package/node_modules/@sema/gerador-lua/dist/index.js +51 -51
- package/node_modules/@sema/gerador-php/dist/index.js +113 -113
- package/node_modules/@sema/gerador-python/dist/index.part02.js +3 -3
- package/node_modules/@sema/gerador-typescript/dist/index.part02.js +11 -11
- package/node_modules/@sema/nucleo/dist/diagnosticos/melhorador.js +42 -42
- package/package.json +3 -3
package/docs/repositories.md
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
# Repository Boundary
|
|
2
|
-
|
|
3
|
-
The public Sema repository should contain only the Codex-native local CLI, the
|
|
4
|
-
first-contact Codex skill, runtime packages, examples, tests that run locally,
|
|
5
|
-
and English documentation.
|
|
6
|
-
|
|
7
|
-
## Public
|
|
8
|
-
|
|
9
|
-
- local CLI source
|
|
10
|
-
- contract parser and validators
|
|
11
|
-
- local drift and impact tooling
|
|
12
|
-
- local code generators
|
|
13
|
-
- examples
|
|
14
|
-
- English docs
|
|
15
|
-
- local package scripts
|
|
16
|
-
- `AGENTS.md` as the official Codex entrypoint
|
|
17
|
-
- the official Sema skill as a thin bootstrap before `AGENTS.md` exists
|
|
18
|
-
- the repo marketplace that installs that skill explicitly
|
|
19
|
-
|
|
20
|
-
## Not Public
|
|
21
|
-
|
|
22
|
-
- private or sensitive operational material
|
|
23
|
-
- real credentials, environment files, or secret inventories
|
|
24
|
-
- private project data or generated private artifacts
|
|
25
|
-
- runtime authorization, activation, billing, credit, token, or panel gates
|
|
26
|
-
- product-specific entrypoint files for AI clients other than Codex
|
|
27
|
-
- MCP servers, remote workspace bridges, or duplicated governance inside the
|
|
28
|
-
bootstrap skill
|
|
29
|
-
|
|
30
|
-
The CLI must run directly against the local workspace without login, user
|
|
31
|
-
authorization, a product-license check, activation key, credits, token, billing
|
|
32
|
-
service, or control panel.
|
|
33
|
-
|
|
34
|
-
Sema is an independent product and is not affiliated with or endorsed by
|
|
35
|
-
OpenAI. Codex-native is Sema's official product direction, not an official
|
|
36
|
-
OpenAI program or submission.
|
|
37
|
-
|
|
38
|
-
## Commercial Use
|
|
39
|
-
|
|
40
|
-
The public Sema source may not be copied, rebranded, bundled, or replicated for
|
|
41
|
-
commercial resale without written permission from OtimiTare.
|
|
42
|
-
|
|
43
|
-
Support: suporte@otimitare.online
|
|
1
|
+
# Repository Boundary
|
|
2
|
+
|
|
3
|
+
The public Sema repository should contain only the Codex-native local CLI, the
|
|
4
|
+
first-contact Codex skill, runtime packages, examples, tests that run locally,
|
|
5
|
+
and English documentation.
|
|
6
|
+
|
|
7
|
+
## Public
|
|
8
|
+
|
|
9
|
+
- local CLI source
|
|
10
|
+
- contract parser and validators
|
|
11
|
+
- local drift and impact tooling
|
|
12
|
+
- local code generators
|
|
13
|
+
- examples
|
|
14
|
+
- English docs
|
|
15
|
+
- local package scripts
|
|
16
|
+
- `AGENTS.md` as the official Codex entrypoint
|
|
17
|
+
- the official Sema skill as a thin bootstrap before `AGENTS.md` exists
|
|
18
|
+
- the repo marketplace that installs that skill explicitly
|
|
19
|
+
|
|
20
|
+
## Not Public
|
|
21
|
+
|
|
22
|
+
- private or sensitive operational material
|
|
23
|
+
- real credentials, environment files, or secret inventories
|
|
24
|
+
- private project data or generated private artifacts
|
|
25
|
+
- runtime authorization, activation, billing, credit, token, or panel gates
|
|
26
|
+
- product-specific entrypoint files for AI clients other than Codex
|
|
27
|
+
- MCP servers, remote workspace bridges, or duplicated governance inside the
|
|
28
|
+
bootstrap skill
|
|
29
|
+
|
|
30
|
+
The CLI must run directly against the local workspace without login, user
|
|
31
|
+
authorization, a product-license check, activation key, credits, token, billing
|
|
32
|
+
service, or control panel.
|
|
33
|
+
|
|
34
|
+
Sema is an independent product and is not affiliated with or endorsed by
|
|
35
|
+
OpenAI. Codex-native is Sema's official product direction, not an official
|
|
36
|
+
OpenAI program or submission.
|
|
37
|
+
|
|
38
|
+
## Commercial Use
|
|
39
|
+
|
|
40
|
+
The public Sema source may not be copied, rebranded, bundled, or replicated for
|
|
41
|
+
commercial resale without written permission from OtimiTare.
|
|
42
|
+
|
|
43
|
+
Support: suporte@otimitare.online
|
package/docs/rollback.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
# Rollback Boundary
|
|
2
|
-
|
|
3
|
-
Public rollback covers both the npm CLI and the separately installed Codex
|
|
4
|
-
bootstrap skill.
|
|
5
|
-
|
|
6
|
-
For a failed pre-publication candidate:
|
|
7
|
-
|
|
8
|
-
1. Keep the previous tarball until the new one passes smoke tests.
|
|
9
|
-
2. Revert the plugin source, marketplace manifest, CLI source, and versions to
|
|
10
|
-
the last known-good commit.
|
|
11
|
-
3. Re-run `npm run release:preparar-publica`.
|
|
12
|
-
|
|
13
|
-
If a bad commit was already pushed, revert it with a normal Git revert and push
|
|
14
|
-
the corrective commit. Refresh the marketplace and reinstall the skill:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
codex plugin marketplace upgrade sema
|
|
18
|
-
codex plugin remove sema@sema
|
|
19
|
-
codex plugin add sema@sema
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Open a new Codex task before validating the reinstalled skill. Already-open
|
|
23
|
-
tasks keep the plugin/skill catalog they started with.
|
|
24
|
-
|
|
25
|
-
If a bad npm version was published, do not overwrite it. Publish a corrected
|
|
26
|
-
version and direct users to that version. Verify the final registry/GitHub state
|
|
27
|
-
with `npm run release:verificar-distribuicao`. Do not create a GitHub Release or
|
|
28
|
-
asset as a rollback shortcut while the release contract blocks that surface.
|
|
29
|
-
|
|
30
|
-
Do not publish private or sensitive operational rollback material in this
|
|
31
|
-
repository.
|
|
1
|
+
# Rollback Boundary
|
|
2
|
+
|
|
3
|
+
Public rollback covers both the npm CLI and the separately installed Codex
|
|
4
|
+
bootstrap skill.
|
|
5
|
+
|
|
6
|
+
For a failed pre-publication candidate:
|
|
7
|
+
|
|
8
|
+
1. Keep the previous tarball until the new one passes smoke tests.
|
|
9
|
+
2. Revert the plugin source, marketplace manifest, CLI source, and versions to
|
|
10
|
+
the last known-good commit.
|
|
11
|
+
3. Re-run `npm run release:preparar-publica`.
|
|
12
|
+
|
|
13
|
+
If a bad commit was already pushed, revert it with a normal Git revert and push
|
|
14
|
+
the corrective commit. Refresh the marketplace and reinstall the skill:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
codex plugin marketplace upgrade sema
|
|
18
|
+
codex plugin remove sema@sema
|
|
19
|
+
codex plugin add sema@sema
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Open a new Codex task before validating the reinstalled skill. Already-open
|
|
23
|
+
tasks keep the plugin/skill catalog they started with.
|
|
24
|
+
|
|
25
|
+
If a bad npm version was published, do not overwrite it. Publish a corrected
|
|
26
|
+
version and direct users to that version. Verify the final registry/GitHub state
|
|
27
|
+
with `npm run release:verificar-distribuicao`. Do not create a GitHub Release or
|
|
28
|
+
asset as a rollback shortcut while the release contract blocks that surface.
|
|
29
|
+
|
|
30
|
+
Do not publish private or sensitive operational rollback material in this
|
|
31
|
+
repository.
|
package/docs/security.md
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# Security
|
|
2
|
-
|
|
3
|
-
The public Sema repository must not contain private or sensitive operational
|
|
4
|
-
material.
|
|
5
|
-
|
|
6
|
-
Local Sema execution does not need a credential, login, activation key, license
|
|
7
|
-
token, billing token, or control-panel session. Do not introduce one as a
|
|
8
|
-
condition for reading or governing a local workspace.
|
|
9
|
-
|
|
10
|
-
The official Codex bootstrap skill contains instructions only. It must not
|
|
11
|
-
bundle an MCP server, app connector, remote workspace bridge, credential flow,
|
|
12
|
-
or a second copy of the repository governance that belongs in `AGENTS.md`.
|
|
13
|
-
|
|
14
|
-
Do not publish:
|
|
15
|
-
|
|
16
|
-
- real credentials or secret material;
|
|
17
|
-
- private data or internal operational artifacts.
|
|
18
|
-
|
|
19
|
-
Placeholder examples are allowed:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
EXAMPLE_KEY=replace-me
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
If a real credential is exposed in code, docs, logs, screenshots, packages, or
|
|
26
|
-
Git history:
|
|
27
|
-
|
|
28
|
-
1. Rotate it immediately.
|
|
29
|
-
2. Remove it from the affected artifact.
|
|
30
|
-
3. Rebuild and rescan before publishing.
|
|
31
|
-
|
|
32
|
-
Official support: suporte@otimitare.online
|
|
1
|
+
# Security
|
|
2
|
+
|
|
3
|
+
The public Sema repository must not contain private or sensitive operational
|
|
4
|
+
material.
|
|
5
|
+
|
|
6
|
+
Local Sema execution does not need a credential, login, activation key, license
|
|
7
|
+
token, billing token, or control-panel session. Do not introduce one as a
|
|
8
|
+
condition for reading or governing a local workspace.
|
|
9
|
+
|
|
10
|
+
The official Codex bootstrap skill contains instructions only. It must not
|
|
11
|
+
bundle an MCP server, app connector, remote workspace bridge, credential flow,
|
|
12
|
+
or a second copy of the repository governance that belongs in `AGENTS.md`.
|
|
13
|
+
|
|
14
|
+
Do not publish:
|
|
15
|
+
|
|
16
|
+
- real credentials or secret material;
|
|
17
|
+
- private data or internal operational artifacts.
|
|
18
|
+
|
|
19
|
+
Placeholder examples are allowed:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
EXAMPLE_KEY=replace-me
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
If a real credential is exposed in code, docs, logs, screenshots, packages, or
|
|
26
|
+
Git history:
|
|
27
|
+
|
|
28
|
+
1. Rotate it immediately.
|
|
29
|
+
2. Remove it from the affected artifact.
|
|
30
|
+
3. Rebuild and rescan before publishing.
|
|
31
|
+
|
|
32
|
+
Official support: suporte@otimitare.online
|