#codemode-gateway

43 files tagged codemode-gateway.

codemode-gatewayconfig

Wrangler

{ // codemode-gateway — persistent execute gateway over DynamicWorkerExecutor. // Binding shape mirrors examples/cod…

{}40 lines1,760 bytes
codemode-gatewayother

.Gitignore

node_modules/ .wrangler/ dist/ .dev.vars *.log

·6 lines47 bytes
codemode-gatewayconfig

Deploy

{"url":"https://codemode-gateway.ceo-a53.workers.dev","versionId":"0790f352-ace5-4d1a-8c61-9e5d54d05630","deployedAt":"2…

{}2 lines180 bytes
codemode-gatewayconfig

Tsconfig

{ "compilerOptions": { "target": "es2022", "module": "es2022", "moduleResolution": "bundler", "lib": […

{}20 lines485 bytes
codemode-gatewayconfig

Package

{"name":"codemode-gateway","version":"1.4.0","private":true,"type":"module","engines":{"bun":"1.3.14"},"scripts":{"dev":…

{}2 lines369 bytes
codemode-gatewaydoc

Agents

# codemode-gateway — agent notes Persistent Cloudflare Worker: LLM-written code in, isolated sandbox execution out. The…

MD15 lines2,144 bytes
codemode-gatewayother

.Bun Version

1.3.14

·2 lines7 bytes
codemode-gatewaydoc

Claude

# codemode-gateway Read `AGENTS.md` in this directory — it is the source of truth for working here. Codebase index: `CO…

MD5 lines135 bytes
codemode-gatewaydoc

Codeatlas

# CODEATLAS.md — queryable codebase index for this repo This repo is indexed by **code-atlas** (deterministic tree-sitt…

MD33 lines1,907 bytes
codemode-gatewaysource

0001 Scrape Store

-- 0001_scrape_store.sql — B6 D1 persistence layer for codemode-gateway. -- Creates the single `scrape_pages` table back…

SQL22 lines905 bytes
codemode-gatewayother

6Ab1672Bd0B99C04A4B3891Ef39Bb50E612C5236E171Dcbd473728439A6D9Ef5

7�-�wb��������e�b_�,wb������i��>�b�SQLite format 3@ …

·10 lines16,512 bytes
codemode-gatewayother

Metadata

SQLite format 3@ .~X …

·2 lines4,096 bytes
codemode-gatewayother

6Ab1672Bd0B99C04A4B3891Ef39Bb50E612C5236E171Dcbd473728439A6D9Ef5

�-���{���wb������dЪ����*�-���{���wb������dЪ����*������������…

·1 lines32,768 bytes
codemode-gatewayother

6Ab1672Bd0B99C04A4B3891Ef39Bb50E612C5236E171Dcbd473728439A6D9Ef5

SQLite format 3@ .~X …

·2 lines4,096 bytes
codemode-gatewayother

Metadata

�-�X���ᙪ�,�'_k��� ^n�Vv�-�X���ᙪ�,�'_k��� ^n�Vv������������…

·1 lines32,768 bytes
codemode-gatewayother

Metadata

7�-��,�'_k���/�K�r��,�'_k����O�*a�SQLite format 3@ …

·7 lines8,272 bytes
codemode-gatewayother

Metadata

SQLite format 3@ .~X …

·2 lines4,096 bytes
codemode-gatewayother

Metadata

�-p1>(��[�hޒzt��+��-p1>(��[�hޒzt��+�������������…

·1 lines32,768 bytes
codemode-gatewayother

Metadata

7�-�[�hޒzp�n�C�{[�hޒz���\�9�SQLite format 3@ …

·7 lines8,272 bytes
codemode-gatewayscript

Deploy B3

#!/usr/bin/env bash # B3 deploy sequence for codemode-gateway (snippet store + codemode.run). # Authorized reversible ve…

SH49 lines1,997 bytes
codemode-gatewayscript

Deploy Info 2026 07 11

#!/usr/bin/env bash # Focused deploy for the GET / info-endpoint addition (codemode-gateway). # # This is the B6 deploy …

SH53 lines2,203 bytes
codemode-gatewayscript

Deploy B6

#!/usr/bin/env bash # B6 deploy sequence for codemode-gateway (D1 persistence layer: db + scrape). # Authorized reversib…

SH58 lines2,472 bytes
codemode-gatewayscript

Deploy B2

#!/usr/bin/env bash # B2 deploy sequence for codemode-gateway. # Authorized reversible versioned Worker update (per disp…

SH46 lines1,776 bytes
codemode-gatewayscript

Verify B2

#!/usr/bin/env bash # B2 live self-verification for codemode-gateway. Never prints the token. set -euo pipefail set -a; …

SH43 lines1,444 bytes
codemode-gatewaysource

Scrape And Store

async () => { const md = await browser.markdown({ url: "https://example.com" }); const summary = await ai.generate({…

JS7 lines408 bytes
codemode-gatewaysource

Index

import { DynamicWorkerExecutor } from "@cloudflare/codemode"; import type { Env, ErrorResponse, ExecuteRequest, …

TS326 lines12,271 bytes
codemode-gatewaysource

Parse

/** * Parse-don't-validate helpers for tool argument parsing. * * Each helper throws a plain `Error` with a `"<tool>:…

TS103 lines2,885 bytes
codemode-gatewaysource

Registry

import { DynamicWorkerExecutor, type ResolvedProvider } from "@cloudflare/codemode"; import type { Env, ToolDef, T…

TS893 lines31,420 bytes
codemode-gatewaysource

Client

import type { CfEnvelope, CfError, Env } from "../types"; import { CloudflareApiError } from "../types"; /** * Host-si…

TS176 lines5,471 bytes
codemode-gatewaysource

Tools

import type { CfEnvelope, CfError, D1Database, Env, KvNamespace } from "../types"; import { CloudflareApiError } from ".…

TS187 lines6,099 bytes