open-index/open-npm huggingface dataset:
npm package: @sure-thing/box
Description: Boxes all the way down
Author: estrattonbailey
Latest version: 0.1.2

# @sure-thing/box

Boxes all the way down.

### Install

```
npm i @sure-thing/box --save
```

## Usage

```jsx
import { BoxTop, Box } from '@sure-thing/box'

const theme = {
  color: {
    b: 'blue'
  }
}

const H1 = Box
H1.defaultProps = { as: 'h1' }
;<BoxTop theme={theme}>
  <Box as='ul' f aic>
    <Box as='li' w={[1, 1 / 2]}>
      <H1 c='b'>Hello world!</H1>
    </Box>
    <Box as='li' w={[1, 1 / 2]}>
      <Box as='button' c='b' css={theme => `&:hover { color: tomato; }`}>
        Click Me
      </Box>
    </Box>
  </Box>
</BoxTop>
```

### License

MIT License © [sure thing](https://sure-thing.net)
npm package: @surebob/ollama-local-provider
Description: A client-side Ollama provider for the Vercel AI SDK that enables direct browser-to-Ollama communication
Author: Surebob
Latest version: 0.1.0

# @surebob/ollama-local-provider

A client-side Ollama provider for the Vercel AI SDK that makes API calls directly from the browser to your local Ollama instance.

## Features

- 🌐 Browser-side API calls to local Ollama
- 🔄 Full streaming support
- 🛠 Compatible with Vercel AI SDK
- 🎯 Zero server-side Ollama calls
- 📦 Easy integration with Next.js and other frameworks

## Installation

```bash
npm install @surebob/ollama-local-provider
```

## Usage

### Basic Usage

```typescript
// In your Next.js page or component
'use client';

import { useChat } from 'ai/react';
import { ollama } from '@surebob/ollama-local-provider';

export default function Chat() {
  const { messages, input, handleInputChange, handleSubmit } = useChat({
    api: '/api/chat',
    initialMessages: [],
  });

  return (
    <div>
      {messages.map((m) => (
        <div key={m.id}>{m.content}</div>
      ))}
      <form onSubmit={handleSubmit}>
        <input value={input} onChange={handleInputChange} />
        <button type="submit">Send</button>
      </form>
    </div>
  );
}
```

### API Route Setup

```typescript
// app/api/chat/route.ts
import { StreamingTextResponse } from 'ai';
import { ollama } from '@surebob/ollama-local-provider';

export async function POST(req: Request) {
  const { messages } = await req.json();
  
  const model = ollama('deepscaler:1.5b', {
    temperature: 0.7,
    top_p: 0.9,
    num_ctx: 4096,
    repeat_penalty: 1.1,
  });

  const response = await model.doStream({
    inputFormat: 'messages',
    mode: { type: 'regular' },
    prompt: messages,
  });

  return new StreamingTextResponse(response.stream);
}
```

## Requirements

- Ollama running locally on port 11434
- Vercel AI SDK
- Next.js (or other framework with streaming support)

## How It Works

This provider uses the `ollama/browser` client to make API calls directly from the browser to your local Ollama instance. This means:

1. When running locally:
   - Browser → Local Ollama (`localhost:11434`)

2. When deployed:
   - Browser → User's Local Ollama (`localhost:11434`)
   - Server never handles Ollama calls

## License

MIT
npm package: @surec/tribeca-cli
Description: oclif example Hello World CLI
Author: @0xksure
Latest version: 1.0.3

## The tribeca cli

gm

The motivation behind the cli is for Sure to offer governance to its users and using the locked tokens in the form of veSure to be used in the proof of breach oracle.

The tribeca cli is a cli built on top of

- [Goki smart wallet](https://github.com/GokiProtocol/goki)
- [Tribeca](https://docs.tribeca.so/governor/overview)

the cli enables you to

- create and manage a goki smart wallet
- create governance around a token
- offer locking of tokens to have veToken capabilities

## usage

the environment variable ** WALLET ** needs to be present in environment.

### Build

```
    > yarn run build
```

### test out

```
    > ./bin/run help
```

## Status

### Smart wallet

- [x] Create Goki smart wallet
- [ ] Sign transaction
- [ ] Execute transaction

### Govern

- [x] Create governor
- [x] Create Proposal with metadata
- [ ] Cancel proposal
- [ ] Queue Proposal

### Locker

- [x] Create locker
- [x] Lock tokens
- [ ] Activate proposal
- [ ] Cast vote
npm package: @surecart/components
Description: The @surecart/components package contains all the core web components that other packages rely on.
Latest version: 2.19.1

![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)

## Themes

A theme is nothing more than a stylesheet that defines design tokens and applies custom styles to components. To create a theme, you will need a decent understanding of CSS, including CSS Custom Properties and the ::part selector.

### All themes are scoped to classes using the `data-theme` attribute convention, where the value is a lowercase, hyphen-delimited value representing the name of the theme. The included light and dark themes use light and dark, respectively. A custom theme called "Purple Power", for example, would use a class called sl-theme-purple-power. 

This data attribute can be placed in any parent ancestor on a page, for example, on a `sc-form` element apply a theme style everything inside the form.

### Developing a Theme

To develop a theme, we utilize [StoryBook](https://storybook.js.org/) to lay out all the components and apply theme styles. You should find a file called `themes.stories.ts` in the root of the components directory.

This story will allow you to see all available components on a page so you can add css for your theme style to change the look of the components.

### Running The Storybook Command

To start the development process, please run this command (in the packages/components directory)

```
yarn watch & yarn storybook
```

This will open up storybook in a new browser window and hot-reload any changes.