codebot-ai 2.0.0 → 2.0.2

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/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # CodeBot AI
2
2
 
3
+ [![CI](https://github.com/zanderone1980/codebot-ai/actions/workflows/ci.yml/badge.svg)](https://github.com/zanderone1980/codebot-ai/actions/workflows/ci.yml)
3
4
  [![npm version](https://img.shields.io/npm/v/codebot-ai.svg)](https://www.npmjs.com/package/codebot-ai)
4
5
  [![license](https://img.shields.io/npm/l/codebot-ai.svg)](https://github.com/zanderone1980/codebot-ai/blob/main/LICENSE)
5
6
  [![node](https://img.shields.io/node/v/codebot-ai.svg)](https://nodejs.org)
@@ -253,7 +254,7 @@ CodeBot v2.0.0 is built with security as a core architectural principle:
253
254
  - **SSRF protection** — blocks localhost, private IPs, cloud metadata endpoints
254
255
  - **Path safety** — blocks writes to system directories, detects path traversal
255
256
 
256
- See [SECURITY.md](SECURITY.md) and [docs/HARDENING.md](docs/HARDENING.md) for the full security model.
257
+ See [SECURITY.md](SECURITY.md), [docs/HARDENING.md](docs/HARDENING.md), and [docs/SOC2_COMPLIANCE.md](docs/SOC2_COMPLIANCE.md) for the full security model and compliance readiness.
257
258
 
258
259
  ## Stability
259
260
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.0.0";
1
+ export declare const VERSION = "2.0.1";
2
2
  export { Agent } from './agent';
3
3
  export { OpenAIProvider } from './providers/openai';
4
4
  export { AnthropicProvider } from './providers/anthropic';
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.sarifToString = exports.exportSarif = exports.RiskScorer = exports.MetricsCollector = exports.listReplayableSessions = exports.compareOutputs = exports.loadSessionForReplay = exports.ReplayProvider = exports.verifyMessages = exports.verifyMessage = exports.signMessage = exports.deriveSessionKey = exports.CapabilityChecker = exports.detectProvider = exports.getModelInfo = exports.PROVIDER_DEFAULTS = exports.MODEL_REGISTRY = exports.loadMCPTools = exports.loadPlugins = exports.parseToolCalls = exports.MemoryManager = exports.SessionManager = exports.buildRepoMap = exports.ContextManager = exports.ToolRegistry = exports.AnthropicProvider = exports.OpenAIProvider = exports.Agent = exports.VERSION = void 0;
18
- exports.VERSION = '2.0.0';
18
+ exports.VERSION = '2.0.1';
19
19
  var agent_1 = require("./agent");
20
20
  Object.defineProperty(exports, "Agent", { enumerable: true, get: function () { return agent_1.Agent; } });
21
21
  var openai_1 = require("./providers/openai");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebot-ai",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Zero-dependency autonomous AI agent. Code, browse, search, automate. Works with any LLM — Ollama, Claude, GPT, Gemini, DeepSeek, Groq, Mistral, Grok.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,6 +23,9 @@
23
23
  "agentic",
24
24
  "coding-assistant",
25
25
  "code-generation",
26
+ "code-review",
27
+ "automation",
28
+ "automation-bot",
26
29
  "llm",
27
30
  "openai",
28
31
  "claude",
@@ -35,7 +38,16 @@
35
38
  "local-llm",
36
39
  "browser-automation",
37
40
  "cli",
38
- "web-search"
41
+ "web-search",
42
+ "security",
43
+ "enterprise",
44
+ "devtools",
45
+ "developer-tools",
46
+ "vscode-extension",
47
+ "github-action",
48
+ "sarif",
49
+ "policy-engine",
50
+ "mcp"
39
51
  ],
40
52
  "author": "Ascendral Software Development & Innovation",
41
53
  "license": "MIT",
@@ -1,6 +0,0 @@
1
- declare const gameBoard: any[][];
2
- declare let currentPlayer: string;
3
- declare const printBoard: () => void;
4
- declare const checkWin: () => void;
5
- declare const gameLoop: () => void;
6
- //# sourceMappingURL=tic-tac-toe.d.ts.map
@@ -1,64 +0,0 @@
1
- "use strict";
2
- // src/games/tic-tac-toe.ts
3
- // Simple console-based Tic-Tac-Toe game
4
- const gameBoard = Array(3).fill(null).map(() => Array(3).fill(null));
5
- let currentPlayer = 'X';
6
- const printBoard = () => {
7
- for (const row of gameBoard) {
8
- console.log(row.join(' | '));
9
- }
10
- };
11
- const checkWin = () => {
12
- // Check rows
13
- for (let i = 0; i < 3; i++) {
14
- if (gameBoard[i][0] === currentPlayer &&
15
- gameBoard[i][1] === currentPlayer &&
16
- gameBoard[i][2] === currentPlayer) {
17
- console.log(`Player ${currentPlayer} wins!`);
18
- process.exit(0);
19
- }
20
- }
21
- // Check columns
22
- for (let j = 0; j < 3; j++) {
23
- if (gameBoard[0][j] === currentPlayer &&
24
- gameBoard[1][j] === currentPlayer &&
25
- gameBoard[2][j] === currentPlayer) {
26
- console.log(`Player ${currentPlayer} wins!`);
27
- process.exit(0);
28
- }
29
- }
30
- // Check diagonals
31
- if ((gameBoard[0][0] === currentPlayer &&
32
- gameBoard[1][1] === currentPlayer &&
33
- gameBoard[2][2] === currentPlayer) ||
34
- (gameBoard[0][2] === currentPlayer &&
35
- gameBoard[1][1] === currentPlayer &&
36
- gameBoard[2][0] === currentPlayer)) {
37
- console.log(`Player ${currentPlayer} wins!`);
38
- process.exit(0);
39
- }
40
- };
41
- const gameLoop = () => {
42
- printBoard();
43
- process.stdin.on('data', (input) => {
44
- const [row, col] = input.toString().trim()
45
- .split(',')
46
- .map(Number);
47
- if (row < 0 || row > 2 || col < 0 || col > 2) {
48
- console.log('Invalid move. Try again.');
49
- return;
50
- }
51
- if (gameBoard[row][col]) {
52
- console.log('Spot taken! Try again.');
53
- return;
54
- }
55
- gameBoard[row][col] = currentPlayer;
56
- checkWin();
57
- currentPlayer = currentPlayer === 'X' ? 'O' : 'X';
58
- process.stdin.removeAllListeners('data');
59
- gameLoop();
60
- });
61
- };
62
- // Start game
63
- gameLoop();
64
- //# sourceMappingURL=tic-tac-toe.js.map