Skip to content

Core 1826 add/update harperdb studio topic and subtopics#2

Merged
DavidCockerill merged 10 commits into
CORE-1824from
CORE-1826
Oct 31, 2022
Merged

Core 1826 add/update harperdb studio topic and subtopics#2
DavidCockerill merged 10 commits into
CORE-1824from
CORE-1826

Conversation

@terraHDB

@terraHDB terraHDB commented Sep 26, 2022

Copy link
Copy Markdown
Contributor

Migrating docs, "HarperDB Studio", to gitbook.

Current state of HarperDB Studio docs: https://harperdb.io/docs/harperdb-studio/

@terraHDB terraHDB changed the title Core 1826 add/update harperdb cloud topic and subtopics Core 1826 add/update harperdb studio topic and subtopics Sep 26, 2022
@DavidCockerill

Copy link
Copy Markdown
Member

I noticed this PR has the install changes from 1825 in it? did you branch off that branch for this?

Comment thread docs/harperdb-studio/manage-schemas-browse-data.md Outdated
1) Click the plus icon (Browse Add Button) at the top right of the table browser.
2) The Studio will pre-populate existing table attributes in JSON format.

*The hash_attribute is not included, but you can add it in and set it to your desired value. Auto-maintained fields are not included and cannot be manually set. You may enter a JSON array to insert multiple records in a single transaction.*

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The primary key...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️

Comment thread docs/harperdb-studio/index.md Outdated
Comment thread docs/harperdb-studio/manage-schemas-browse-data.md Outdated
Comment thread docs/harperdb-studio/manage-schemas-browse-data.md Outdated
# Conflicts:
#	docs/install-harperdb/mac.md
#	docs/install-harperdb/node-ver-requirement.md
#	docs/install-harperdb/offline.md
#	docs/install-harperdb/windows.md
@DavidCockerill
DavidCockerill merged commit 3fb02ce into CORE-1824 Oct 31, 2022
DavidCockerill pushed a commit that referenced this pull request Nov 15, 2022
* doc migration epic branch

* 3/4 progress of security

* finished configuration.md, began users and roles

* users and roles migrated; still needs updates

* updated user and roles operations

* corrections to security docs

* CORE-1825 Add/Update "install harpedb" subtopics (#1)

* added mac, added/updated windows, added/updated node version requirements, and added offline docs

* go requirements

* docs adjustments

* testing variable usage

* testing variable usage

* Update other.md

Update installation for other operating systems.

* added link to download

* node version

* exact replica download button

* functional download link

* deleted old link

* node version

Co-authored-by: Kris Zyp <kriszyp@gmail.com>

* Core 1826 add/update harperdb studio topic and subtopics (#2)

* added mac, added/updated windows, added/updated node version requirements, and added offline docs

* 1/3 through studio subtopics

* 2/3 through studio subtopics

* 3/3 through studio subtopics

* corrected harperdb operations api

* removed icon descriptions and fixed typos

* removed icon descriptions

* primary key vs hash_attribute change

* primary key vs hash attribute qualifier

* minor change to example function

Co-authored-by: Kris Zyp <kriszyp@gmail.com>
DavidCockerill pushed a commit that referenced this pull request Nov 29, 2022
* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* testing variable syntax

* reverted changes from variable testing

* added diagrams and clustering docs

* more formatting

* formatted the rest of clustering docs

* Core 1828 Docs Migration- Security: Topic and Subtopics (#4)

* doc migration epic branch

* 3/4 progress of security

* finished configuration.md, began users and roles

* users and roles migrated; still needs updates

* updated user and roles operations

* corrections to security docs

* CORE-1825 Add/Update "install harpedb" subtopics (#1)

* added mac, added/updated windows, added/updated node version requirements, and added offline docs

* go requirements

* docs adjustments

* testing variable usage

* testing variable usage

* Update other.md

Update installation for other operating systems.

* added link to download

* node version

* exact replica download button

* functional download link

* deleted old link

* node version

Co-authored-by: Kris Zyp <kriszyp@gmail.com>

* Core 1826 add/update harperdb studio topic and subtopics (#2)

* added mac, added/updated windows, added/updated node version requirements, and added offline docs

* 1/3 through studio subtopics

* 2/3 through studio subtopics

* 3/3 through studio subtopics

* corrected harperdb operations api

* removed icon descriptions and fixed typos

* removed icon descriptions

* primary key vs hash_attribute change

* primary key vs hash attribute qualifier

* minor change to example function

Co-authored-by: Kris Zyp <kriszyp@gmail.com>

* added more context to clustering intro page; adjusted subscription behavior description

Co-authored-by: Kris Zyp <kriszyp@gmail.com>
@Ethan-Arrowood
Ethan-Arrowood deleted the CORE-1826 branch August 12, 2025 17:20
kylebernhardy pushed a commit that referenced this pull request Jul 14, 2026
kriszyp review (docs#576 #2): the prose credited *export* for 'wins on reload',
but the hardened example deliberately does not export (it registers via
server.resources.set with all transports off). The quota hook actually resolves
the resource by name from the live registry each call (checkDurableQuota ->
getResources().get(path)), and server.resources.set() populates that same
registry, so registration — not export — is what makes it resolvable, and the
currently-registered class wins on reload. Prose now says 'registered' and names
both registration paths.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0188G62J9fZQg4J9rVuqLzjy
kylebernhardy added a commit that referenced this pull request Jul 22, 2026
* Gate the quota-hook example's table off the MCP surface

The example exported the counter table, which surfaces update_/delete_
verb tools and REST — letting a permitted client reset its own quota.
Found by a blind agent evaluation of the harper-mcp skill (skills#69).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Use the real registration mechanism to gate the quota class

static exportTypes is never read off exported classes (kriszyp) — the
wired mechanism is server.resources.set(name, Class, exportTypes), and
rest: false is needed for the REST side independently. Runtime-verified
on main: McpQuota absent from tools/list, REST 404, quota hook still
resolves and denies past the limit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Close all six transports in the quota-gating example

The example set { mcp: false, rest: false }, closing only two of the six
transports exportTypes gates. Since McpQuota extends QuotaCounter (standard
Table CRUD) and unset means exposed, the 'reset your own counter' path the
example prevents was still reachable via SSE/WS/GraphQL/MQTT. Set all six
(mcp, rest, sse, ws, graphql, mqtt) and reword the comment so it doesn't read
as fully closed when it wasn't. Addresses kriszyp's review on #576 (incl. the
sse surface his suggestion omitted).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0188G62J9fZQg4J9rVuqLzjy

* Reconcile quota.resource prose with the non-exporting example

kriszyp review (docs#576 #2): the prose credited *export* for 'wins on reload',
but the hardened example deliberately does not export (it registers via
server.resources.set with all transports off). The quota hook actually resolves
the resource by name from the live registry each call (checkDurableQuota ->
getResources().get(path)), and server.resources.set() populates that same
registry, so registration — not export — is what makes it resolvable, and the
currently-registered class wins on reload. Prose now says 'registered' and names
both registration paths.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0188G62J9fZQg4J9rVuqLzjy

* Document the durable quota as server.setMcpQuotaHandler, not config

Companion to harper#1821, which replaces the mcp.<profile>.quota.resource/method
config (a Resource reference, public-by-default) with a registration function.
Rewrite the quota section: drop the removed config keys, and show a registered
function backed by an INTERNAL (non-@export) counter table plus a separate
exported tool — so nothing exposes update_/delete_ CRUD a client could use to
reset its own counter. Resolves Kris's review that the fix belongs in the API.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0188G62J9fZQg4J9rVuqLzjy

---------

Co-authored-by: Kyle Bernhardy <kyle.bernhardy@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants